diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-19 04:03:07 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-19 04:03:07 +0000 |
commit | 7abe0b6e4f8ecd0fca188af5bdfb3b10b8b77c36 (patch) | |
tree | 1df5094d770f1ce32b1262cd27599c9856773f22 /tests/run_tests.check | |
parent | c5d2adbf92800ef82855112085650455745ed001 (diff) | |
download | ATCD-TAO-0_1_40.tar.gz |
This commit was manufactured by cvs2svn to create tag 'TAO-0_1_40'.TAO-0_1_40
Diffstat (limited to 'tests/run_tests.check')
-rwxr-xr-x | tests/run_tests.check | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/tests/run_tests.check b/tests/run_tests.check deleted file mode 100755 index 8b33cf979a5..00000000000 --- a/tests/run_tests.check +++ /dev/null @@ -1,37 +0,0 @@ -#! /bin/sh -f -# $Id$ -# -# Checks one ore more ACE test log file(s) for expected results. - -IFS="|" -tmp=/tmp - -# These patterns must be contained in log file. -SUCCESS_MSGS="starting|Ending" - -# These patterns should not be contained in log file. -ERROR_MSGS="assertion failed|not supported|No such file or directory|Invalid argument|timeout|Bad file number" - -status=0 - -for arg do - for i in $SUCCESS_MSGS; do - egrep $i $arg >/dev/null 2>&1 - if [ $? -eq 1 ]; then - echo Error in $arg: no line with $i - status=1 - fi - done - - for i in $ERROR_MSGS; do - #### The /dev/null arg to egrep causes the filename to be printed - #### out. The sed command strips off the leading 'log/' and - #### trailing '.log'. - egrep $i $arg /dev/null | sed -e 's%^log/%%' -e 's%[.]log:%: %' - if [ $? -ne 0 ]; then status=1; fi - done -done - -exit $status - -# EOF |