diff options
Diffstat (limited to 'test/fork.awk')
-rw-r--r-- | test/fork.awk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fork.awk b/test/fork.awk index 0b29f9ff..af608ad5 100644 --- a/test/fork.awk +++ b/test/fork.awk @@ -20,6 +20,7 @@ BEGIN { else if ((getline x < fn) != 1) printf "Error: getline failed on temp file %s\n", fn else { + close(fn) # required on non-POSIX systems expected = ("pid " pid " ppid " PROCINFO["pid"]) if (x != expected) printf "Error: child data (%s) != expected (%s)\n", x, expected |