xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/closebad.awk (revision b69c34dad3717624ff6b4f32b71014ee05b6a678)
1BEGIN {
2	f = "/no/such/file/1"
3	print (getline junk < f)
4	print close(f)
5	f = "/no/such/file/2"
6	print close(f)
7}
8