tests: support FreeBSD short "time" args
authorHirohisa Yamaguchi <umq@ueo.co.jp>
Sun, 27 May 2012 18:16:59 +0000 (14:16 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 27 May 2012 18:16:59 +0000 (14:16 -0400)
time(1) in FreeBSD does not have long argument name: change --append to
-a and --output to -o

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/runtests-batch.sh
tests/runtests.sh

index 4340147905907fbf3d07a61960383d9572a674d7..6c2340d18b2d880df36e87417e134137b5ec5d86 100755 (executable)
@@ -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
 
index aace60b63eac876d55d0970cd35ad3311d65af1a..79e54df7fcf1558d1aa3526570483267785e30c8 100755 (executable)
@@ -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
 
This page took 0.026109 seconds and 4 git commands to generate.