]>
diplodocus.org Git - nmh/blob - test/mhbuild/test-mhbuild
2 ######################################################
6 ######################################################
8 if test -z "${MH_OBJ_DIR}"; then
9 srcdir
=`dirname "$0"`/..
/..
10 MH_OBJ_DIR
=`cd "$srcdir" && pwd`; export MH_OBJ_DIR
13 .
"$MH_OBJ_DIR/test/common.sh"
17 expected
="$MH_TEST_DIR/test-mhbuild$$.expected"
19 start_test
"-nodirectives"
20 cat >"$expected" <<'EOF'
21 Subject: test -nodirectives
23 Content-Type: text/plain; charset="us-ascii"
25 #define line begins with # and ends with backslash-newline \
26 all characters should be preserved
29 cat >"`mhpath new`" <<'EOF'
30 Subject: test -nodirectives
32 #define line begins with # and ends with backslash-newline \
33 all characters should be preserved
36 run_test
"mhbuild -nodirectives `mhpath last`"
37 check
"`mhpath last`" "$expected"