| Index: client/tests/unixbench/unixbench.patch
|
| diff --git a/client/tests/unixbench/unixbench.patch b/client/tests/unixbench/unixbench.patch
|
| index a6b567a3b1f25fb06dae08cc4ce8aaf1415ebe91..e3aee89ea2bd63c14ce06fc71f6f5aa52a7de517 100644
|
| --- a/client/tests/unixbench/unixbench.patch
|
| +++ b/client/tests/unixbench/unixbench.patch
|
| @@ -1,6 +1,41 @@
|
| +diff -urN src/Run newsrc/Run
|
| +--- src/Run 2006-05-17 14:24:46.000000000 -0700
|
| ++++ newsrc/Run 2010-05-07 19:02:43.000000000 -0700
|
| +@@ -53,7 +53,7 @@
|
| + # You will need ...
|
| + # awk cat cc chmod comm cp date dc df echo ed expr
|
| + # kill ls make mkdir rm sed test time touch tty umask who
|
| +-# AND /usr/bin/time
|
| ++# AND time
|
| + # to generate result indexes, you will also need ...
|
| + # join
|
| + #
|
| +@@ -66,7 +66,7 @@
|
| + #
|
| + if [ -z "${FLAVOR-}" ]; then
|
| + # determine flavor of UNIX from number of lines generated by "time"
|
| +- Fcount=`/usr/bin/time date 2>&1 | wc -l | sed 's/ //g'`
|
| ++ Fcount=`time date 2>&1 | wc -l | sed 's/ //g'`
|
| + case "$Fcount" in
|
| + 2) FLAVOR=BSD ;;
|
| + 3) FLAVOR=Linux ;;
|
| +@@ -468,10 +468,10 @@
|
| + ############ THE BENCH IS TIMED ##############
|
| + if [ -z "${stdin-}" ]; then
|
| + # without redirected stdin
|
| +- /usr/bin/time $prog $opt $bg 2>>$TMPTIMES >>$stdout
|
| ++ time $prog $opt $bg 2>>$TMPTIMES >>$stdout
|
| + else
|
| + # with redirected stdin
|
| +- /usr/bin/time $prog $opt $bg <$stdin 2>>$TMPTIMES >>$stdout
|
| ++ time $prog $opt $bg <$stdin 2>>$TMPTIMES >>$stdout
|
| + fi
|
| + ###############################################
|
| + cd $pwd # move back home
|
| +diff -urN src/src/execl.c newsrc/src/execl.c
|
| --- src/src/execl.c 1999-07-28 14:46:58.000000000 -0700
|
| -+++ newsrc/src/execl.c 2008-02-27 09:23:17.372306000 -0800
|
| -@@ -88,7 +88,7 @@ char *argv[];
|
| ++++ newsrc/src/execl.c 2010-05-07 19:01:38.000000000 -0700
|
| +@@ -88,7 +88,7 @@
|
| fprintf(stderr, "%lu loops\n", iter);
|
| exit(0);
|
| }
|
|
|