diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-05-06 21:29:05 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-05-06 21:29:05 +0300 |
commit | 8bd32787b04cd30790ccca2c054a74f7f81cf5c9 (patch) | |
tree | b9e4b0ba83fe56b6131163ce478062e0d9e8c45e /test/sandbox1.awk | |
parent | 5fcb16c45d4f282557411479194c61e30d3b63cd (diff) | |
parent | 98c0e68100e8d41dee98750cc36b53dcf5ba76aa (diff) | |
download | egawk-8bd32787b04cd30790ccca2c054a74f7f81cf5c9.tar.gz egawk-8bd32787b04cd30790ccca2c054a74f7f81cf5c9.tar.bz2 egawk-8bd32787b04cd30790ccca2c054a74f7f81cf5c9.zip |
Merge branch 'gawk-5.0-stable'
Diffstat (limited to 'test/sandbox1.awk')
-rw-r--r-- | test/sandbox1.awk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/sandbox1.awk b/test/sandbox1.awk new file mode 100644 index 00000000..e84894d7 --- /dev/null +++ b/test/sandbox1.awk @@ -0,0 +1,7 @@ +BEGIN { + ARGV[ARGC++] = ARGV[1] # should be ok + ARGV[ARGC++] = "" # empty string, should be ok + ARGV[ARGC++] = "foo=bar" # assignment, should be ok + ARGV[ARGC++] = "junk::foo=bar" # assignment, should be ok + ARGV[ARGC++] = "/dev/null" # should fatal here +} |