From 8ec4c84aa412996f7d43f5ec8968c307afc666aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Wed, 3 Jan 1996 00:08:33 +0000 Subject: Specify TMPDIR and RESULTDIR outside the /usr tree, or a R/O /usr will prevent the tests from running. Do not try to compile the test programs, since the sources are not being copied to the lib/bytebench directory by "make install". --- benchmarks/unixbench/files/patch-aa | 40 +++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) (limited to 'benchmarks/unixbench') diff --git a/benchmarks/unixbench/files/patch-aa b/benchmarks/unixbench/files/patch-aa index d5078069853d..a69d87ddb1b7 100644 --- a/benchmarks/unixbench/files/patch-aa +++ b/benchmarks/unixbench/files/patch-aa @@ -25,18 +25,18 @@ *************** *** 36,40 **** TESTDIR = ./testdir - RESULTDIR = ./results +! RESULTDIR = ./results ! TMPDIR = ./tmp # other directories INCLDIR = /usr/include --- 37,41 ---- TESTDIR = ./testdir - RESULTDIR = ./results -! # TMPDIR = ./tmp +! # RESULTDIR = ./results +! # TMPDIR = /var/tmp # other directories INCLDIR = /usr/include *** Run.orig Wed Feb 5 11:08:46 1992 ---- Run Mon Jan 1 23:26:00 1996 +--- Run Wed Jan 3 00:13:43 1996 *************** *** 41,45 **** # awk cat cc chmod comm cp date dc df echo ed expr @@ -64,6 +64,38 @@ case "$Fcount" in *************** +*** 68,75 **** + export FLAVOR + # check that the required files are in the proper places +! if make check +! then : +! else make all +! fi + # + # +--- 68,75 ---- + export FLAVOR + # check that the required files are in the proper places +! #if make check +! # then : +! # else make all +! #fi + # + # +*************** +*** 93,97 **** + cd $PWD + +! TMPDIR=${HOMEDIR}/tmp + cd $TMPDIR + TMPDIR=`pwd` +--- 93,97 ---- + cd $PWD + +! TMPDIR=${TMPDIR-${HOMEDIR}/tmp} + cd $TMPDIR + TMPDIR=`pwd` +*************** *** 418,426 **** if test "$stdin" = "" then # without redirected stdin -- cgit v1.2.3