diff options
author | Jim Meyering <jim@meyering.net> | 2000-08-21 09:41:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-08-21 09:41:56 +0000 |
commit | 4ff47b028e672664d79a24cd18d3a8f26aac9ac5 (patch) | |
tree | d0b5cc76b8519330324e29718b8cf2166d4b58e4 | |
parent | 6d622fcb6b1d647564df6aa2e685af9d9a1a1ca2 (diff) | |
download | coreutils-4ff47b028e672664d79a24cd18d3a8f26aac9ac5.tar.xz |
remove `dir' in trap, too
-rwxr-xr-x | tests/cp/same-file | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/same-file b/tests/cp/same-file index 09c535c37..6220b4f31 100755 --- a/tests/cp/same-file +++ b/tests/cp/same-file @@ -16,7 +16,7 @@ pwd=`pwd` actual=actual-$$ expected=expected-$$ -trap 'status=$?; cd $pwd; rm -rf $actual $expected && exit $status' 0 +trap 'status=$?; cd $pwd; rm -rf dir $actual $expected && exit $status' 0 trap 'exit $?' 1 2 13 15 exec 1> $actual |