tests: short args for mktemp to support BSD

*BSD and OSX do not have compatible long args
This commit is contained in:
Alex Burka 2015-07-27 11:34:01 -07:00 committed by Hans-Christoph Steiner
parent 316d71d46c
commit 4a478528c2
1 changed files with 2 additions and 2 deletions

View File

@ -35,12 +35,12 @@ create_fake_android_home() {
create_test_dir() {
test -e $WORKSPACE/.testfiles || mkdir $WORKSPACE/.testfiles
mktemp --directory --tmpdir=$WORKSPACE/.testfiles
TMPDIR=$WORKSPACE/.testfiles mktemp -d
}
create_test_file() {
test -e $WORKSPACE/.testfiles || mkdir $WORKSPACE/.testfiles
mktemp --tmpdir=$WORKSPACE/.testfiles
TMPDIR=$WORKSPACE/.testfiles mktemp
}
#------------------------------------------------------------------------------#