summaryrefslogtreecommitdiff
path: root/tests/misc/cat-proc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/cat-proc')
-rwxr-xr-xtests/misc/cat-proc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/cat-proc b/tests/misc/cat-proc
index d6ff5011b..22f384765 100755
--- a/tests/misc/cat-proc
+++ b/tests/misc/cat-proc
@@ -26,7 +26,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