diff options
-rwxr-xr-x | tests/basic/bd.t | 1 | ||||
-rw-r--r-- | tests/include.rc | 2 | ||||
-rwxr-xr-x | tests/snapshot.rc | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/tests/basic/bd.t b/tests/basic/bd.t index 7e3637492a3..63622edd709 100755 --- a/tests/basic/bd.t +++ b/tests/basic/bd.t @@ -74,6 +74,7 @@ function volume_type() case $OSTYPE in NetBSD) echo "Skip test on LVM which is not available on NetBSD" >&2 + SKIP_TESTS exit 0 ;; *) diff --git a/tests/include.rc b/tests/include.rc index 1a0fb06002f..28d4ab744ff 100644 --- a/tests/include.rc +++ b/tests/include.rc @@ -97,7 +97,7 @@ for line in $expect_tests; do done IFS=$x_ifs -echo 1..$testcnt +echo "1..`echo $testcnt`" t=1 diff --git a/tests/snapshot.rc b/tests/snapshot.rc index 5186b77fe04..cddbb49584a 100755 --- a/tests/snapshot.rc +++ b/tests/snapshot.rc @@ -394,6 +394,7 @@ function check_if_snapd_exist() { case $OSTYPE in NetBSD) echo "Skip test on LVM which is not available on NetBSD" >&2 + SKIP_TESTS exit 0 ;; *) |