]> 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 06c972bd11f6fd5193abb692ba44d7f41a8c93af..2afa100505098e65aa68dc64c204e8d007799d40 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="${MH_OBJ_DIR}/test/inc"
+THISDIR="$srcdir/test/inc"
 
 if [ ! -z "$VALGRIND_ME" ]; then
     require_prog valgrind