Browse Source

Die if test has not finished cleanly

Alois Mahdal 6 years ago
parent
commit
8439b739ee
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/libexec/jattool-qrun

+ 2
- 1
src/libexec/jattool-qrun View File

@@ -40,7 +40,8 @@ qrun() {
40 40
         return 3
41 41
     }
42 42
     source "$Body"
43
-    jat__sfinish
43
+    jat__sfinish; tes=$?
44
+    test $tes -gt 1 && die "test indicated invalid results"
44 45
 }
45 46
 
46 47
 main() {