From: Hirohisa Yamaguchi Date: Sun, 27 May 2012 18:16:59 +0000 (-0400) Subject: tests: support FreeBSD short "time" args X-Git-Tag: v0.7.3~6 X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=383dac33797fd0858d6858527324a6a15aa06c09 tests: support FreeBSD short "time" args time(1) in FreeBSD does not have long argument name: change --append to -a and --output to -o Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/runtests-batch.sh b/tests/runtests-batch.sh index 4340147..6c2340d 100755 --- a/tests/runtests-batch.sh +++ b/tests/runtests-batch.sh @@ -3,6 +3,6 @@ #for a in test_urcu_gc test_urcu_gc_mb test_urcu_qsbr_gc; do for a in test_urcu_gc; do echo "./${a} $*" | tee -a runall.detail.log - /usr/bin/time --append --output runall.detail.log ./${a} $* + /usr/bin/time -a -o runall.detail.log ./${a} $* done diff --git a/tests/runtests.sh b/tests/runtests.sh index aace60b..79e54df 100755 --- a/tests/runtests.sh +++ b/tests/runtests.sh @@ -5,6 +5,6 @@ for a in test_urcu_gc test_urcu_signal_gc test_urcu_mb_gc test_urcu_qsbr_gc \ test_urcu test_urcu_signal test_urcu_mb test_urcu_qsbr \ test_rwlock test_perthreadlock test_mutex; do echo "./${a} $*" | tee -a runall.detail.log - /usr/bin/time --append --output runall.detail.log ./${a} $* + /usr/bin/time -a -o runall.detail.log ./${a} $* done