diff options
Diffstat (limited to 'test/closebad.awk')
-rw-r--r-- | test/closebad.awk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/closebad.awk b/test/closebad.awk new file mode 100644 index 00000000..83133ae8 --- /dev/null +++ b/test/closebad.awk @@ -0,0 +1,7 @@ +BEGIN { + f = "/no/such/file/1" + print (getline junk < f) + print close(f) + f = "/no/such/file/2" + print close(f) +} |