From fb2e0a4afbe3263ebda3e1d2b72d921b2d7e2c50 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Wed, 29 Oct 2014 01:17:25 +0100 Subject: Regression test portability: TAP Even with successful tests on NetBSD, we had a failure message at the end: "No plan found in TAP output" This was caused by a white space left padded numerical variable. Stripping the white spaces fixes the problem. While there add SKIP_TEST for NetBSD on unspported tests so that it does not triger a failure. BUG: 1129939 Change-Id: I8d0bc125c4208974657977568d838ee2dd19783c Signed-off-by: Emmanuel Dreyfus Reviewed-on: http://review.gluster.org/8981 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- tests/snapshot.rc | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/snapshot.rc') 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 ;; *) -- cgit