summaryrefslogtreecommitdiff
path: root/tests/execscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/execscript')
-rw-r--r--tests/execscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/execscript b/tests/execscript
index 3415ae3c..c1819de7 100644
--- a/tests/execscript
+++ b/tests/execscript
@@ -59,10 +59,10 @@ echo $?
echo $?
# kill two birds with one test -- test out the BASH_ENV code
-echo echo this is bashenv > /tmp/bashenv
-export BASH_ENV=/tmp/bashenv
+echo echo this is bashenv > $TMPDIR/bashenv
+export BASH_ENV=$TMPDIR/bashenv
${THIS_SH} ./exec3.sub
-rm -f /tmp/bashenv
+rm -f $TMPDIR/bashenv
unset BASH_ENV
# we're resetting the $PATH to empty, so this should be last
@@ -108,7 +108,7 @@ ${THIS_SH} ./exec6.sub
# checks for properly deciding what constitutes an executable file
${THIS_SH} ./exec7.sub
-${THIS_SH} -i ./exec8.sub
+${THIS_SH} -i ${PWD}/exec8.sub
${THIS_SH} ./exec9.sub