aboutgitcodebugslistschat
diff options
context:
space:
mode:
-rwxr-xr-xtest/lib/test10
-rwxr-xr-xtest/run2
2 files changed, 6 insertions, 6 deletions
diff --git a/test/lib/test b/test/lib/test
index 93c86e8..2cfec9a 100755
--- a/test/lib/test
+++ b/test/lib/test
@@ -153,7 +153,7 @@ test_one_line() {
"htools")
pane_run HOST 'which '"${__arg}"' >/dev/null || echo skip'
pane_wait HOST
- [ "$(pane_parse HOST)" = "skip" ] && TEST_ONE_skip=1
+ [ "$(pane_parse HOST)" = "skip" ] && TEST_ONE_skip=1 || true
;;
"passt")
pane_run PASST "${__arg}"
@@ -194,17 +194,17 @@ test_one_line() {
"gtools")
pane_run GUEST 'which '"${__arg}"' >/dev/null || echo skip'
pane_wait GUEST
- [ "$(pane_parse GUEST)" = "skip" ] && TEST_ONE_skip=1
+ [ "$(pane_parse GUEST)" = "skip" ] && TEST_ONE_skip=1 || true
;;
"g1tools")
pane_run GUEST_1 'which '"${__arg}"' >/dev/null || echo skip'
pane_wait GUEST_1
- [ "$(pane_parse GUEST_1)" = "skip" ] && TEST_ONE_skip=1
+ [ "$(pane_parse GUEST_1)" = "skip" ] && TEST_ONE_skip=1 || true
;;
"g2tools")
pane_run GUEST_2 'which '"${__arg}"' >/dev/null || echo skip'
pane_wait GUEST_2
- [ "$(pane_parse GUEST_2)" = "skip" ] && TEST_ONE_skip=1
+ [ "$(pane_parse GUEST_2)" = "skip" ] && TEST_ONE_skip=1 || true
;;
"guest2")
pane_run GUEST_2 "${__arg}"
@@ -249,7 +249,7 @@ test_one_line() {
"nstools")
pane_run NS 'which '"${__arg}"' >/dev/null || echo skip'
pane_wait NS
- [ "$(pane_parse NS)" = "skip" ] && TEST_ONE_skip=1
+ [ "$(pane_parse NS)" = "skip" ] && TEST_ONE_skip=1 || true
;;
"gout")
__varname="${__arg%% *}"
diff --git a/test/run b/test/run
index a8e1c98..737fa81 100755
--- a/test/run
+++ b/test/run
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
#
# SPDX-License-Identifier: AGPL-3.0-or-later
#