File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ usage() {
2424}
2525
2626mydir=$( dirname " $0 " )
27- cd " $( /bin/ pwd) " && cd " $mydir " || die " can't find self in dir: $mydir "
27+ cd " $( pwd) " && cd " $mydir " || die " can't find self in dir: $mydir "
2828
2929args=
3030while [ " $1 " != " ${1# -} " ]; do
Original file line number Diff line number Diff line change @@ -136,9 +136,9 @@ mkdir y
136136ln -s . y/x
137137check " /usr/__does_not/b" _realpath " /usr/__does_not/a/../b" " $x "
138138check " foo" _realpath " y/x/x/x/x/x/../foo" " $PWD "
139- check " $( /bin/ pwd) /foo" _realpath " $PWD /y/x/x/x/x/x/../foo" " $PWD "
139+ check " $( pwd) /foo" _realpath " $PWD /y/x/x/x/x/x/../foo" " $PWD "
140140check " foo/blam" _realpath " y/x/x/x/x/x/../foo/spam/../blam" " $PWD "
141- check " $( /bin/ pwd) /foo/blam" _realpath " $PWD /y/x/x/../foo/spam/../blam" " $PWD "
141+ check " $( pwd) /foo/blam" _realpath " $PWD /y/x/x/../foo/spam/../blam" " $PWD "
142142
143143
144144SECTION _find_dofile
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ for iter in 10 20; do
1414 cd y/x/x/x/x/x
1515 IFS= $(printf '\n')
1616 redo- ifchange static x/x/x/static $PWD/static \
17- $(/bin/ pwd)/static /etc/passwd
17+ $(pwd)/static /etc/passwd
1818 redo- ifchange $PWD/../static 2> /dev/null && exit 35
1919 redo- ifchange 1.dyn x/x/x/2.dyn $PWD/3.dyn \
20- $PWD/../4.dyn $(/bin/ pwd)/ 5.dyn
20+ $PWD/../4.dyn $(pwd)/ 5.dyn
2121 )
2222 [ - e y/1.dyn ] || exit $((iter + 1))
2323 [ - e y/2.dyn ] || exit $((iter + 2))
Original file line number Diff line number Diff line change 1010
1111# builds 1xx* /all to test for basic/dangerous functionality.
1212# We don't want to run more advanced tests if the basics don't work.
13- /bin/ ls 1[0- 9][0- 9]* /all.do |
13+ ls 1[0- 9][0- 9]* /all.do |
1414sed 's/\.do$//' |
1515xargs redo
1616110- compile/hello > & 2
1717
1818# builds most of the rest in parallel
19- /bin/ ls [2- 9][0- 9][0- 9]* /all.do |
19+ ls [2- 9][0- 9][0- 9]* /all.do |
2020sed 's/\.do$//' |
2121xargs redo
2222
@@ -25,7 +25,7 @@ xargs redo
2525# are checking for unnecessary extra rebuilds of some targets, which
2626# might happen after flush- cache.
2727# FIXME: a better solution might be to make flush- cache less destructive!
28- /bin/ ls [s][0- 9][0- 9]* /all.do |
28+ ls [s][0- 9][0- 9]* /all.do |
2929sed 's/\.do$//' | {
3030 while read d; do
3131 redo " $d"
Original file line number Diff line number Diff line change 1- /bin/ ls [0- 9s][0- 9][0- 9]* /clean.do |
1+ ls [0- 9s][0- 9][0- 9]* /clean.do |
22sed 's/\.do$//' |
33xargs redo
44
You can’t perform that action at this time.
0 commit comments