mariadb/ndb/test/run-test/atrt-analyze-result.sh
unknown 6386c55cee Initial revision of NDB Cluster files
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-04-14 10:53:21 +02:00

12 lines
234 B
Bash
Executable file

#!/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