run-tests: use OSX/BSD compatible `mktemp -d`

-d requires an arg on BSD
This commit is contained in:
Hans-Christoph Steiner 2016-02-15 15:29:11 +01:00
parent ff30bded21
commit c91b715a15
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ create_fake_android_home() {
create_test_dir() {
test -e $WORKSPACE/.testfiles || mkdir $WORKSPACE/.testfiles
TMPDIR=$WORKSPACE/.testfiles mktemp -d
mktemp -d $WORKSPACE/.testfiles/run-tests.XXXX
}
create_test_file() {