diff options
Diffstat (limited to 'tests/du/long-from-unreadable')
-rwxr-xr-x | tests/du/long-from-unreadable | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/du/long-from-unreadable b/tests/du/long-from-unreadable index 5a84c2e34..16f00e8ec 100755 --- a/tests/du/long-from-unreadable +++ b/tests/du/long-from-unreadable @@ -48,7 +48,7 @@ fi pwd=`pwd` t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ -trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0 +trap 'status=$?; cd "$pwd" && chmod -R u+rwx $t0 && rm -rf $t0 && exit $status' 0 trap '(exit $?); exit $?' 1 2 13 15 framework_failure=0 @@ -84,6 +84,6 @@ if test $framework_failure = 1; then fi fail=0 -du -s $pwd/$tmp/$dir > /dev/null || fail=1 +du -s "$pwd"/$tmp/$dir > /dev/null || fail=1 (exit $fail); exit $fail |