summaryrefslogtreecommitdiff
path: root/tests/redir.tests
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2018-09-17 15:10:56 -0400
committerChet Ramey <chet.ramey@case.edu>2018-09-17 15:10:56 -0400
commit2f5dfe5a18b4670eb4cea32c1c76295eb70a8865 (patch)
treebf19e42dcaf6c5cf8e0ce0a1c15d56e8f8a6d675 /tests/redir.tests
parent9a51695bed07d37086c352372ac69d0a30039a6b (diff)
downloadbash-2f5dfe5a18b4670eb4cea32c1c76295eb70a8865.tar.gz
bash-5.0-beta releasebash-5.0-beta
Diffstat (limited to 'tests/redir.tests')
-rw-r--r--tests/redir.tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/redir.tests b/tests/redir.tests
index 7b74ac53..6af02194 100644
--- a/tests/redir.tests
+++ b/tests/redir.tests
@@ -57,6 +57,9 @@ echo to c 1>&6
cat $TMPDIR/bash-c
echo "Point 5"
+# clean up before running scripts
+exec 4>&- 5>&- 6<&-
+
rm -f $TMPDIR/bash-a $TMPDIR/bash-b $TMPDIR/bash-c
#