#
######################################################
+if [ -z "${MH_TEST_COMMON}" ]; then
+ echo "MH_TEST_COMMON not set; try running via 'make check'"
+fi
+
+. ${MH_TEST_COMMON}
+
+setup_test
+
set -e
SPDIR="$MH_TEST_DIR/foo's bar"
rm -rf "$SPDIR"
# watch the quoting -- shell and printf and then the shell run inside whatnow
printf "cd $MH_TEST_DIR/foo\\\\'s\\\\ bar\npwd\n" | whatnow -noedit -prompt '' 2> "$actualerr" > "$actual" || true
-diff -u $expectederr $actualerr
+diff -u $expectederr $actualerr || exit 1
diff -u $expected $actual