From 383dac33797fd0858d6858527324a6a15aa06c09 Mon Sep 17 00:00:00 2001 From: Hirohisa Yamaguchi Date: Sun, 27 May 2012 14:16:59 -0400 Subject: [PATCH] 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 --- tests/runtests-batch.sh | 2 +- tests/runtests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1