Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests Expected results were not updated fo...



details:   https://anonhg.NetBSD.org/src/rev/45e0dc62051c
branches:  trunk
changeset: 582922:45e0dc62051c
user:      sjg <sjg%NetBSD.org@localhost>
date:      Mon Jul 11 17:55:19 2005 +0000

description:
Expected results were not updated for comment testing.

diffstat:

 usr.bin/make/unit-tests/comment  |  5 ++++-
 usr.bin/make/unit-tests/test.exp |  4 ++++
 2 files changed, 8 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 31ef8b4b3344 -r 45e0dc62051c usr.bin/make/unit-tests/comment
--- a/usr.bin/make/unit-tests/comment   Mon Jul 11 17:15:30 2005 +0000
+++ b/usr.bin/make/unit-tests/comment   Mon Jul 11 17:55:19 2005 +0000
@@ -18,9 +18,12 @@
 on
 
 # This is NOT an escaped comment due to the double backslashes \\
-all: foo bar
+all: hi foo bar
        @echo comment testing done
 
+hi:
+       @echo comment testing start
+
 foo:
        @echo this is $@
 
diff -r 31ef8b4b3344 -r 45e0dc62051c usr.bin/make/unit-tests/test.exp
--- a/usr.bin/make/unit-tests/test.exp  Mon Jul 11 17:15:30 2005 +0000
+++ b/usr.bin/make/unit-tests/test.exp  Mon Jul 11 17:55:19 2005 +0000
@@ -1,3 +1,7 @@
+comment testing start
+this is foo
+This is how a comment looks: # comment
+comment testing done
 make: "cond1" line 75: warning: extra else
 make: "cond1" line 85: warning: extra else
 2 is  prime



Home | Main Index | Thread Index | Old Index