blob: 0fa46e918efdd4be53114bb26ad209ff412a4bb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
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
|