aboutsummaryrefslogtreecommitdiffstats
path: root/test/symtab9.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-05-02 22:47:49 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-05-02 22:47:49 +0300
commit800d8dfddf14399e2b6470ef8b0d2b4d30398b2c (patch)
treea1dd2fac527632700b0edf45db04f0963c805b56 /test/symtab9.awk
parent362a751010463c8c0b897d80e1b83abf3f62374b (diff)
downloadegawk-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.awk6
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")
}