Permalink
Browse files

tests: use -o instead of --output for /usr/bin/time, fixes FreeBSD

  • Loading branch information...
austin987 committed Mar 30, 2015
1 parent a4719fb commit 420c8ab5b03f46e8d1561a7bd7a16a9b2c2d010e
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/winetricks-test
View
@@ -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

Please sign in to comment.