diff options
author | rillig <rillig@pkgsrc.org> | 2005-11-19 21:31:10 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-11-19 21:31:10 +0000 |
commit | 9c8df56275da46279970c3697b457c38de5f4542 (patch) | |
tree | 442ff020a8bc8b06d0768e54989361c595b789c1 /regress | |
parent | 78dcd60481dfe67c74e9860a5969d3880fef1674 (diff) | |
download | pkgsrc-9c8df56275da46279970c3697b457c38de5f4542.tar.gz |
Added comments.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/tools/files/awk-test.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/regress/tools/files/awk-test.sh b/regress/tools/files/awk-test.sh index b94f38e1c0d..e8a83f4b627 100644 --- a/regress/tools/files/awk-test.sh +++ b/regress/tools/files/awk-test.sh @@ -1,9 +1,10 @@ #! /bin/sh -# $NetBSD: awk-test.sh,v 1.1.1.1 2005/11/19 21:27:06 rillig Exp $ +# $NetBSD: awk-test.sh,v 1.2 2005/11/19 21:31:10 rillig Exp $ # set -e +# usage: assert_equal <expected> <got> assert_equal() { case $1 in "$2") ;; @@ -20,4 +21,6 @@ test_assignment() { test_assignment "foo" "foo" test_assignment "foo bar baz" "foo bar baz" +# The Solaris /usr/bin/awk does not conform to the POSIX specification, +# but passes the right hand side of the assignment uninterpreted. test_assignment "CPPFLAGS=\\\"-Dfoo=bar\\\"" "CPPFLAGS=\"-Dfoo=bar\"" |