aboutsummaryrefslogtreecommitdiffstats
path: root/testdir/testdel
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-03-24 02:54:54 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-03-24 02:54:54 -0700
commitf9c39b7ae8218121f16e1b0b7f70c1cff52a56c0 (patch)
treeda7986af67af78e6d12f5e65ed9ee2ee71b58994 /testdir/testdel
parent159d6101904ca8af97c2bc741fefb2be39983799 (diff)
downloadcppawk-f9c39b7ae8218121f16e1b0b7f70c1cff52a56c0.tar.gz
cppawk-f9c39b7ae8218121f16e1b0b7f70c1cff52a56c0.tar.bz2
cppawk-f9c39b7ae8218121f16e1b0b7f70c1cff52a56c0.zip
bugfix: execing awk causes temp files to persist.
Diffstat (limited to 'testdir/testdel')
-rwxr-xr-xtestdir/testdel3
1 files changed, 3 insertions, 0 deletions
diff --git a/testdir/testdel b/testdir/testdel
new file mode 100755
index 0000000..f6339c8
--- /dev/null
+++ b/testdir/testdel
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ "$1" = "-f" ] || exit 1
+printf "%s\n" "$2"