summaryrefslogtreecommitdiff
path: root/tests/du/basic
diff options
context:
space:
mode:
Diffstat (limited to 'tests/du/basic')
-rwxr-xr-xtests/du/basic2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/du/basic b/tests/du/basic
index 0427068f5..325e5acff 100755
--- a/tests/du/basic
+++ b/tests/du/basic
@@ -29,7 +29,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