diff options
author | unknown <magnus@neptunus.(none)> | 2004-04-14 10:53:21 +0200 |
---|---|---|
committer | unknown <magnus@neptunus.(none)> | 2004-04-14 10:53:21 +0200 |
commit | 6386c55cee50bad6a9979d1fab28e03bb8612ca7 (patch) | |
tree | 3fbbacf704304b69228474b9f03549ccd585a017 /ndb/test/run-test/atrt-analyze-result.sh | |
parent | 0ba6cb48d84f1ff951d09871a96be6cdef3f2c3c (diff) | |
download | mariadb-git-6386c55cee50bad6a9979d1fab28e03bb8612ca7.tar.gz |
Initial revision of NDB Cluster files
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'ndb/test/run-test/atrt-analyze-result.sh')
-rwxr-xr-x | ndb/test/run-test/atrt-analyze-result.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ndb/test/run-test/atrt-analyze-result.sh b/ndb/test/run-test/atrt-analyze-result.sh new file mode 100755 index 00000000000..0fa46e918ef --- /dev/null +++ b/ndb/test/run-test/atrt-analyze-result.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +f=`find result -name 'log.out' | xargs grep "NDBT_ProgramExit: " | grep -c "Failed"` +o=`find result -name 'log.out' | xargs grep "NDBT_ProgramExit: " | grep -c "OK"` + +if [ $o -gt 0 -a $f -eq 0 ] +then + exit 0 +fi + +exit 1 + |