]> diplodocus.org Git - nmh/blobdiff - test/teardown-test
Some tests failed because they displayed the user's local
[nmh] / test / teardown-test
index 7e169e4155e254bf9526f90e78452e731800d368..5dec4ab303b864b6152a44aa13d9c53a4d6e5ccb 100755 (executable)
@@ -1,4 +1,8 @@
 #!/bin/sh
 
-rm -rf `cat test-temp-dir`
-rm -f test-temp-dir
+# Get full pathnames that we'll need.
+testdir=`dirname $0`
+builddir=$testdir/testbuild
+testinstalldir=$testdir/testinstall
+
+rm -rf $builddir $testinstalldir