diff options
author | Jim Meyering <jim@meyering.net> | 2002-06-15 09:46:32 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-06-15 09:46:32 +0000 |
commit | bf7c8ba557c70ac20dc87f0df1508312b668ecab (patch) | |
tree | c659cbac2545c0bd2a5d3348cad2d42036b325c7 | |
parent | 59f339c1f8dd093b2aa9a1b592443d5537f3027f (diff) | |
download | coreutils-bf7c8ba557c70ac20dc87f0df1508312b668ecab.tar.xz |
(trap): Make sure the temporary hierarchy is writable before removing it.
-rw-r--r-- | tests/sample-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sample-test b/tests/sample-test index 104f83db8..3af9e6819 100644 --- a/tests/sample-test +++ b/tests/sample-test @@ -13,7 +13,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; chmod -R 700 $t0; rm -rf $t0 && exit $status' 0 trap '(exit $?); exit' 1 2 13 15 framework_failure=0 |