fix: use 6 X to support running under busybox

mktemp from busybox requires that all templates end with XXXXXX.
This commit is contained in:
Jose Diaz-Gonzalez committed 2019-08-12 18:16:16 -04:00
1 parent 925c6c4c28
commit 3ca6245b00
20 files changed
+22 -22

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ main() {
exit 1
fi
TMP_OUTPUT=$(mktemp "/tmp/${FUNCNAME[0]}.XXXX")
TMP_OUTPUT=$(mktemp "/tmp/${FUNCNAME[0]}.XXXXXX")
trap 'rm -rf "$TMP_OUTPUT" >/dev/null' RETURN INT TERM EXIT
eval "$(grep "export BATS_TEST_PATTERN" </usr/local/libexec/bats-core/bats)"