summaryrefslogtreecommitdiff
path: root/tests/exec12.sub
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2018-05-22 16:51:07 -0400
committerChet Ramey <chet.ramey@case.edu>2018-05-22 16:51:07 -0400
commit9a51695bed07d37086c352372ac69d0a30039a6b (patch)
tree4d0f57cba0dd1ec7a75aae56e18cfe9997d0b7a7 /tests/exec12.sub
parent7de27456f6494f5f9c11ea1c19024d0024f31112 (diff)
downloadbash-5.0-alpha.tar.gz
bash-5.0-alpha releasebash-5.0-alpha
Diffstat (limited to 'tests/exec12.sub')
-rw-r--r--tests/exec12.sub1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/exec12.sub b/tests/exec12.sub
index 4bd6121b..bc627d2d 100644
--- a/tests/exec12.sub
+++ b/tests/exec12.sub
@@ -1,5 +1,6 @@
: ${TMPDIR:=/var/tmp}
TMPFILE=$TMPDIR/exitcode
+trap 'rm -f $TMPFILE' 0
rm -f $TMPFILE
set -e