Permalink
Browse files
tests: use -o instead of --output for /usr/bin/time, fixes FreeBSD
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+2
−2
tests/winetricks-test
|
|
@@ -94,7 +94,7 @@ srcdir=`cd $srcdir; pwd` |
|
|
|
|
|
test_speed()
|
|
|
{
|
|
|
if ! /usr/bin/time -p --output=time.log sh winetricks $1 > foo.log
|
|
|
if ! /usr/bin/time -p -o time.log sh winetricks $1 > foo.log
|
|
|
then
|
|
|
fail "winetricks $1 returned status $?"
|
|
|
fi
|
|
|
@@ -210,7 +210,7 @@ test_command() |
|
|
then
|
|
|
# A success is failure:
|
|
|
sh winetricks --no-isolate -q $command && fail "$@ succeeded, should have failed"
|
|
|
elif ! /usr/bin/time -p --output=time.log sh winetricks --no-isolate -q $command
|
|
|
elif ! /usr/bin/time -p -o time.log sh winetricks --no-isolate -q $command
|
|
|
then
|
|
|
rm df-daemon
|
|
|
fail "test_command $command failed!"
|
|
|
|
0 comments on commit
420c8ab