]> diplodocus.org Git - nmh/blobdiff - test/inc/test-eom-align
The test check() function now removes the expected and actual output files if they...
[nmh] / test / inc / test-eom-align
index 0be4969..2afa100 100755 (executable)
@@ -5,15 +5,15 @@
 set -e
 
 if test -z "${MH_OBJ_DIR}"; then
-    srcdir=`dirname $0`/../..
-    MH_OBJ_DIR=`cd $srcdir && pwd`; export MH_OBJ_DIR
+    srcdir=`dirname "$0"`/../..
+    MH_OBJ_DIR=`cd "$srcdir" && pwd`; export MH_OBJ_DIR
 fi
 
 . "$MH_OBJ_DIR/test/common.sh"
 
 setup_test
 
-THISDIR="`dirname $0`"
+THISDIR="$srcdir/test/inc"
 
 if [ ! -z "$VALGRIND_ME" ]; then
     require_prog valgrind