summaryrefslogtreecommitdiff
path: root/benchmarks/lmbench/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/lmbench/patches/patch-ai')
-rw-r--r--benchmarks/lmbench/patches/patch-ai24
1 files changed, 12 insertions, 12 deletions
diff --git a/benchmarks/lmbench/patches/patch-ai b/benchmarks/lmbench/patches/patch-ai
index 2d5d35a2d2b..1f87e5609a8 100644
--- a/benchmarks/lmbench/patches/patch-ai
+++ b/benchmarks/lmbench/patches/patch-ai
@@ -1,12 +1,12 @@
-$NetBSD: patch-ai,v 1.1 1998/08/30 17:46:27 garbled Exp $
+$NetBSD: patch-ai,v 1.2 1998/09/24 08:45:00 agc Exp $
--- scripts/lmbench.orig Fri Jul 31 12:55:19 1998
+++ scripts/lmbench Sun Aug 30 09:05:29 1998
@@ -7,7 +7,7 @@
- # $Id: patch-ai,v 1.1 1998/08/30 17:46:27 garbled Exp $
+ # $Id: patch-ai,v 1.2 1998/09/24 08:45:00 agc Exp $
# Make sure we can find: ./cmd, df, and netstat
-PATH=.:../../scripts:$PATH:/etc:/usr/etc:/sbin:/usr/sbin
-+PATH=.:XXXPREFIXXXX/bin/lmbench:$PATH:/etc:/usr/etc:/sbin:/usr/sbin
++PATH=.:@PREFIX@/bin/lmbench:$PATH:/etc:/usr/etc:/sbin:/usr/sbin
export PATH
if [ -f $1 ]
@@ -15,10 +15,10 @@ $NetBSD: patch-ai,v 1.1 1998/08/30 17:46:27 garbled Exp $
lat_unix
if [ $MP = Y ]
-then if [ $SYNC_MAX = $SYNC_PID ]; then cp hello /tmp/hello; fi
-+then if [ $SYNC_MAX = $SYNC_PID ]; then cp XXXPREFIXXXX/bin/lmbench/hello /tmp/hello; fi
++then if [ $SYNC_MAX = $SYNC_PID ]; then cp @PREFIX@/bin/lmbench/hello /tmp/hello; fi
synchronize $SYNC/lat_proc
-else cp hello /tmp/hello
-+else cp XXXPREFIXXXX/bin/lmbench/hello /tmp/hello
++else cp @PREFIX@/bin/lmbench/hello /tmp/hello
fi
lat_proc fork
lat_proc exec
@@ -27,7 +27,7 @@ $NetBSD: patch-ai,v 1.1 1998/08/30 17:46:27 garbled Exp $
then date > /dev/tty
echo Local networking > /dev/tty
- if [ ! -d ../../src/webpage-lm ]
-+ if [ ! -d XXXPREFIXXXX/share/lmbench/webpage-lm ]
++ if [ ! -d @PREFIX@/share/lmbench/webpage-lm ]
then (cd ../../src && tar xf webpage-lm.tar)
sync
sleep 1
@@ -35,7 +35,7 @@ $NetBSD: patch-ai,v 1.1 1998/08/30 17:46:27 garbled Exp $
SERVERS="lat_udp lat_tcp lat_rpc lat_connect bw_tcp"
for server in $SERVERS; do $server -s; done
- DOCROOT=../../src/webpage-lm lmhttp 8008 &
-+ DOCROOT=XXXPREFIXXXX/share/lmbench/webpage-lm lmhttp 8008 &
++ DOCROOT=@PREFIX@/share/lmbench/webpage-lm lmhttp 8008 &
sleep 2;
for i in localhost
do
@@ -45,15 +45,15 @@ $NetBSD: patch-ai,v 1.1 1998/08/30 17:46:27 garbled Exp $
# I want a hot cache number
- lat_http $i 8008 < ../../src/webpage-lm/URLS > /dev/null 2>&1
- lat_http $i 8008 < ../../src/webpage-lm/URLS
-+ lat_http $i 8008 < XXXPREFIXXXX/share/lmbench/webpage-lm/URLS > /dev/null 2>&1
-+ lat_http $i 8008 < XXXPREFIXXXX/share/lmbench/webpage-lm/URLS
++ lat_http $i 8008 < @PREFIX@/share/lmbench/webpage-lm/URLS > /dev/null 2>&1
++ lat_http $i 8008 < @PREFIX@/share/lmbench/webpage-lm/URLS
lat_http -$i 8008
done
for remote in $REMOTE
do echo Networking to $remote > /dev/tty
- rcp $SERVERS lmhttp ../../src/webpage-lm.tar ${remote}:/tmp
-+ rcp $SERVERS lmhttp XXXPREFIXXXX/share/lmbench/webpage-lm.tar ${remote}:/tmp
++ rcp $SERVERS lmhttp @PREFIX@/share/lmbench/webpage-lm.tar ${remote}:/tmp
for server in $SERVERS
do $RSH $remote -n /tmp/$server -s &
done
@@ -63,8 +63,8 @@ $NetBSD: patch-ai,v 1.1 1998/08/30 17:46:27 garbled Exp $
# I want a hot cache number
- lat_http $remote 8008 < ../../src/webpage-lm/URLS > /dev/null 2>&1
- lat_http $remote 8008 < ../../src/webpage-lm/URLS
-+ lat_http $remote 8008 < XXXPREFIXXXX/share/lmbench/webpage-lm/URLS > /dev/null 2>&1
-+ lat_http $remote 8008 < XXXPREFIXXXX/share/lmbench/webpage-lm/URLS
++ lat_http $remote 8008 < @PREFIX@/share/lmbench/webpage-lm/URLS > /dev/null 2>&1
++ lat_http $remote 8008 < @PREFIX@/share/lmbench/webpage-lm/URLS
lat_http -$remote 8008
RM=
for server in $SERVERS