diff options
Diffstat (limited to 'tests/rm/r-4')
-rwxr-xr-x | tests/rm/r-4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rm/r-4 b/tests/rm/r-4 index 087e16e9c..355133598 100755 --- a/tests/rm/r-4 +++ b/tests/rm/r-4 @@ -26,7 +26,7 @@ fi pwd=`pwd` t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ -trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0 +trap 'status=$?; cd "$pwd" && rm -rf $t0 && exit $status' 0 trap '(exit $?); exit' 1 2 13 15 framework_failure=0 @@ -34,7 +34,7 @@ mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 touch a || framework_failure=1 -cd $pwd || framework_failure=1 +cd "$pwd" || framework_failure=1 if test $framework_failure = 1; then echo 'failure in testing framework' |