Skip to content

Commit

Permalink
test/test.sh: fix mktemp with busybox
Browse files Browse the repository at this point in the history
  • Loading branch information
maxice8 committed Nov 18, 2017
1 parent d378eb3 commit 22f66ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ if [ $? -eq 0 ];then
add_err "wifish should fail with WIFISH_DEFAULT as 'foo'"
fi

tfile=$(mktemp /tmp/$$.XXX.parsed)
efile=$(mktemp /tmp/$$.XXX.parsed.err)
tfile=$(mktemp /tmp/$$.parsed.XXXXXX)
efile=$(mktemp /tmp/$$.parsed.err.XXXXXX)
trap 'rm -f $tfile' INT TERM EXIT
trap 'rm -f $efile' INT TERM EXIT
WIFISH_DEFAULT=list AWK_LOCATION=./awk _IN_TEST=true ./wifish >$tfile 2>$efile
Expand Down

0 comments on commit 22f66ca

Please sign in to comment.