[DTrace-devel] [PATCH] test: Fail if the postprocessor fails

eugene.loh at oracle.com eugene.loh at oracle.com
Sat Mar 11 17:32:20 UTC 2023


From: Eugene Loh <eugene.loh at oracle.com>

Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
---
 runtest.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/runtest.sh b/runtest.sh
index bc7e6c1a..75a6a90f 100755
--- a/runtest.sh
+++ b/runtest.sh
@@ -1343,6 +1343,7 @@ for dt in $dtrace; do
 
             if ! postprocess $base.r.p $testout $tmpdir/test.out; then
                 testmsg="results postprocessor failed with exitcode $?"
+                fail=t
             fi
 
             rm -f $testerr
-- 
2.18.4




More information about the DTrace-devel mailing list