diff options
Diffstat (limited to 'tests/ls/stat-vs-dirent')
-rwxr-xr-x | tests/ls/stat-vs-dirent | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ls/stat-vs-dirent b/tests/ls/stat-vs-dirent index d5d418d65..b71d7dd1c 100755 --- a/tests/ls/stat-vs-dirent +++ b/tests/ls/stat-vs-dirent @@ -27,7 +27,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 |