summaryrefslogtreecommitdiff
path: root/tests/scripts/misc
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2009-06-05 01:17:29 +0000
committerPaul Smith <psmith@gnu.org>2009-06-05 01:17:29 +0000
commit71385e12250ea56ddb2186f22a3f741684562ac5 (patch)
tree0019528d008184f579bacd2e5af9c37e323d403a /tests/scripts/misc
parent81f3e4babd128f6740d05b371122762924522fb6 (diff)
downloadgunmake-71385e12250ea56ddb2186f22a3f741684562ac5.tar.gz
- Add forgotten variable/define test suite
- Skip initial whitespace including formfeeds, vertical tab, etc. - Add tests for that - Fix the variable/SHELL test; it was wrong!
Diffstat (limited to 'tests/scripts/misc')
-rw-r--r--tests/scripts/misc/general413
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/scripts/misc/general4 b/tests/scripts/misc/general4
index ccccf88..e67323b 100644
--- a/tests/scripts/misc/general4
+++ b/tests/scripts/misc/general4
@@ -80,4 +80,17 @@ dir/subdir/%.$$a: dir/subdir/%.$$b ; @echo 'cp $< $@'
!,
'', "mkdir -p dir/subdir\ntouch dir/subdir/file.\$b\ncp dir/subdir/file.\$b dir/subdir/file.\$a\n");
+# Test odd whitespace at the beginning of a line
+
+run_make_test("
+all:
+ \f
+
+ \\
+ \f \\
+ \013 \\
+all: ; \@echo hi
+",
+ '', "hi\n");
+
1;