summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-10 16:09:48 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-10 16:09:48 +0000
commitd8aedc3f5285ff70e2d2544337843800bb361751 (patch)
tree645e52fa3eacbfd58d0ff55f3c4076b89f1ec526
parent26ef2c501d3f778a838e2157ef0bdbcb30796584 (diff)
downloadATCD-d8aedc3f5285ff70e2d2544337843800bb361751.tar.gz
ChangeLogTag:Fri Oct 10 11:08:02 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
-rw-r--r--ChangeLog-97b8
-rwxr-xr-xtests/run_tests.check2
-rwxr-xr-xtests/run_tests.sh8
3 files changed, 15 insertions, 3 deletions
diff --git a/ChangeLog-97b b/ChangeLog-97b
index c86c6a5a95b..1d92de95f4a 100644
--- a/ChangeLog-97b
+++ b/ChangeLog-97b
@@ -1,3 +1,11 @@
+Fri Oct 10 11:08:02 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
+
+ * tests/run_tests.sh:
+ We remove the log file before running a test, we also check for
+ the log file existance before running run_test.check on
+ it. Thanks to Dean Clamons <dean@n5170a.nrl.navy.mil> for
+ helping us with this.
+
Fri Oct 10 01:46:07 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.3.13, released Fri Oct 10 01:46:07 1997.
diff --git a/tests/run_tests.check b/tests/run_tests.check
index 2485ea7bc4b..8b33cf979a5 100755
--- a/tests/run_tests.check
+++ b/tests/run_tests.check
@@ -16,7 +16,7 @@ status=0
for arg do
for i in $SUCCESS_MSGS; do
- egrep -q $i $arg
+ egrep $i $arg >/dev/null 2>&1
if [ $? -eq 1 ]; then
echo Error in $arg: no line with $i
status=1
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index 0c9b3149590..52e46337720 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -8,7 +8,7 @@ tmp=/tmp
run()
{
echo running $1
- /bin/rm -f core
+ /bin/rm -f core log/$1.log
./$1
status=$?
@@ -21,7 +21,11 @@ run()
echo \"$1\" dumped core!!!!
fi
- ./run_tests.check log/$1.log
+ if [ -f log/$1.log ]; then
+ ./run_tests.check log/$1.log
+ else
+ echo No log file (log/$1.log) is present
+ fi
}
echo "Starting tests..."