diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-06-26 21:40:31 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-06-26 21:40:31 +0300 |
commit | 076eb06c0c714ca6ee95ca512d114bf9f41038e0 (patch) | |
tree | d81211b7e2bbd71ab59802bf85a0f5df253158ec | |
parent | 8f2b0b9128f4d2dc50ae52c304237c8e9d4b85f9 (diff) | |
download | egawk-076eb06c0c714ca6ee95ca512d114bf9f41038e0.tar.gz egawk-076eb06c0c714ca6ee95ca512d114bf9f41038e0.tar.bz2 egawk-076eb06c0c714ca6ee95ca512d114bf9f41038e0.zip |
Add tests for previous fix to namespaces.
-rw-r--r-- | test/nsawk1.awk | 5 | ||||
-rw-r--r-- | test/nsawk1a.ok | 0 | ||||
-rw-r--r-- | test/nsawk1b.ok | 0 | ||||
-rw-r--r-- | test/nsawk1c.ok | 0 | ||||
-rw-r--r-- | test/nsawk2.awk | 5 | ||||
-rw-r--r-- | test/nsawk2a.ok | 1 | ||||
-rw-r--r-- | test/nsawk2b.ok | 1 |
7 files changed, 12 insertions, 0 deletions
diff --git a/test/nsawk1.awk b/test/nsawk1.awk new file mode 100644 index 00000000..00715bc1 --- /dev/null +++ b/test/nsawk1.awk @@ -0,0 +1,5 @@ +# Used to cause internal error +BEGIN { + x = awk::I + x = awk::I +} diff --git a/test/nsawk1a.ok b/test/nsawk1a.ok new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/nsawk1a.ok diff --git a/test/nsawk1b.ok b/test/nsawk1b.ok new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/nsawk1b.ok diff --git a/test/nsawk1c.ok b/test/nsawk1c.ok new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/nsawk1c.ok diff --git a/test/nsawk2.awk b/test/nsawk2.awk new file mode 100644 index 00000000..d275c121 --- /dev/null +++ b/test/nsawk2.awk @@ -0,0 +1,5 @@ +# Used to cause internal error +BEGIN { + x = awk::I + print x +} diff --git a/test/nsawk2a.ok b/test/nsawk2a.ok new file mode 100644 index 00000000..86815ca7 --- /dev/null +++ b/test/nsawk2a.ok @@ -0,0 +1 @@ +fine diff --git a/test/nsawk2b.ok b/test/nsawk2b.ok new file mode 100644 index 00000000..86815ca7 --- /dev/null +++ b/test/nsawk2b.ok @@ -0,0 +1 @@ +fine |