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 | 4504993e927a92e3b832b80bf882feeb74496e2c (patch) | |
tree | 442ff020a8bc8b06d0768e54989361c595b789c1 /regress | |
parent | bd2759ab0e09de88bf97146f0ae5a40f9fe94bb0 (diff) | |
download | pkgsrc-4504993e927a92e3b832b80bf882feeb74496e2c.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\"" |