From 469cafa053f21f64f64da907add11b6f9cb81505 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Wed, 21 Oct 2009 22:20:32 +0200 Subject: [PATCH] Make run_all more portable. - Changed shebang for portability - Fix date command for FreeBSD Signed-off-by: Federico Hernandez --- src/tests/run_all | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/run_all b/src/tests/run_all index 6383568cf..ab1629002 100755 --- a/src/tests/run_all +++ b/src/tests/run_all @@ -1,4 +1,4 @@ -#! /bin/bash +#! /bin/sh date > all.log @@ -14,7 +14,7 @@ END=`tail -1 all.log` OS=`uname` case $OS in - Darwin) + Darwin | FreeBSD) STARTEPOCH=`date -j -f "%a %b %d %T %Z %Y" "${START}" "+%s"` ENDEPOCH=`date -j -f "%a %b %d %T %Z %Y" "${END}" "+%s"` ;;