|
@@ -77,8 +77,6 @@ DEBUG [example.beta] MSG_BADSEVERITY, unrecognized log severity: beta/25
|
|
./logger_example -c stdout -s debug -d 25 | cut -d' ' -f3- | diff $tempfile -
|
|
./logger_example -c stdout -s debug -d 25 | cut -d' ' -f3- | diff $tempfile -
|
|
passfail $?
|
|
passfail $?
|
|
|
|
|
|
-rm -f $tempfile
|
|
|
|
-
|
|
|
|
if [ $failcount -eq 0 ]; then
|
|
if [ $failcount -eq 0 ]; then
|
|
echo "PASS: $testname"
|
|
echo "PASS: $testname"
|
|
elif [ $failcount -eq 1 ]; then
|
|
elif [ $failcount -eq 1 ]; then
|
|
@@ -87,4 +85,7 @@ else
|
|
echo "FAIL: $testname - $failcount tests failed"
|
|
echo "FAIL: $testname - $failcount tests failed"
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+# Tidy up
|
|
|
|
+rm -f $tempfile
|
|
|
|
+
|
|
exit $failcount
|
|
exit $failcount
|