ソースを参照

Die if test has not finished cleanly

Alois Mahdal 6 年 前
コミット
8439b739ee
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2
    1
      src/libexec/jattool-qrun

+ 2
- 1
src/libexec/jattool-qrun ファイルの表示

@@ -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() {