summaryrefslogtreecommitdiff
path: root/tests/histexp.tests
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2019-01-07 09:27:52 -0500
committerChet Ramey <chet.ramey@case.edu>2019-01-07 09:27:52 -0500
commitd233b485e83c3a784b803fb894280773f16f2deb (patch)
tree16d51f3ccca2d4ad2d8f2da564d68ca848de595b /tests/histexp.tests
parent64447609994bfddeef1061948022c074093e9a9f (diff)
downloadbash-d233b485e83c3a784b803fb894280773f16f2deb.tar.gz
bash-5.0 distribution sources and documentationbash-5.0
Diffstat (limited to 'tests/histexp.tests')
-rw-r--r--tests/histexp.tests6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/histexp.tests b/tests/histexp.tests
index 99c7520d..5ae925e1 100644
--- a/tests/histexp.tests
+++ b/tests/histexp.tests
@@ -1,6 +1,6 @@
LC_ALL=C
LANG=C
-trap 'rm /tmp/newhistory' 0
+trap 'rm $TMPDIR/newhistory' 0
file=bax
histchars='!^#' # make sure history comment char is set correctly
@@ -25,7 +25,7 @@ history -p '!!:z'
history
-HISTFILE=/tmp/newhistory
+HISTFILE=$TMPDIR/newhistory
history -a
history -w
@@ -140,3 +140,5 @@ ${THIS_SH} ./histexp1.sub
${THIS_SH} ./histexp2.sub
${THIS_SH} ./histexp3.sub
${THIS_SH} ./histexp4.sub
+${THIS_SH} ./histexp5.sub
+${THIS_SH} ./histexp6.sub