summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-12-20 02:31:47 +0000
committerJim Meyering <jim@meyering.net>1998-12-20 02:31:47 +0000
commit63ceb4f304a1facad63e1cb8b152ef071953874c (patch)
tree041addce0928fb5b9354871666d8696c22e7dfe8 /tests
parent12838cec9b7518161ef4d02865dc9e0bad6b108e (diff)
downloadcoreutils-63ceb4f304a1facad63e1cb8b152ef071953874c.tar.xz
Use absolute path for final rm.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ln/misc7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/ln/misc b/tests/ln/misc
index f3b39efec..bf9412aab 100755
--- a/tests/ln/misc
+++ b/tests/ln/misc
@@ -3,6 +3,11 @@
PATH=../../../src:$PATH
tmp=t2-ln.$$
+if test "$VERBOSE" = yes; then
+ set -x
+ $LN --version
+fi
+
test_failure=0
mkdir $tmp || test_failure=1
cd $tmp || test_failure=1
@@ -84,6 +89,6 @@ test -f $ld || fail=1
rm -rf $d $f $ld
cd ..
-rm -rf $tmp
+../../src/rm -rf $tmp
exit $fail