mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
tests: short args for mktemp to support BSD
*BSD and OSX do not have compatible long args
This commit is contained in:
parent
316d71d46c
commit
4a478528c2
@ -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
|
||||
}
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
|
Loading…
Reference in New Issue
Block a user