diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-05-02 22:47:49 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-05-02 22:47:49 +0300 |
commit | 800d8dfddf14399e2b6470ef8b0d2b4d30398b2c (patch) | |
tree | a1dd2fac527632700b0edf45db04f0963c805b56 /test/symtab9.awk | |
parent | 362a751010463c8c0b897d80e1b83abf3f62374b (diff) | |
download | egawk-800d8dfddf14399e2b6470ef8b0d2b4d30398b2c.tar.gz egawk-800d8dfddf14399e2b6470ef8b0d2b4d30398b2c.tar.bz2 egawk-800d8dfddf14399e2b6470ef8b0d2b4d30398b2c.zip |
Fix symtab9 test so it will work on Windows too.
Diffstat (limited to 'test/symtab9.awk')
-rw-r--r-- | test/symtab9.awk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/symtab9.awk b/test/symtab9.awk index fd8f14d9..6b520147 100644 --- a/test/symtab9.awk +++ b/test/symtab9.awk @@ -11,5 +11,9 @@ BEGIN { getline printf "NR should be 3, is %d\n", SYMTAB["NR"] - system("rm testit.txt") + + # Can't do this here. Windows doesn't let you remove a file that + # is still open. Moving it to END won't help either, since the file + # (correctly) remain open until after the END finishes. + # system("rm testit.txt") } |