From: Rob Browning Date: Sat, 25 Apr 2015 15:13:14 +0000 (-0500) Subject: test-xdev: show test skip messages via WVSTART X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=34a0a692c72a232979475cddd2d263b9af62fa2e;p=packages%2Fb%2Fbup.git test-xdev: show test skip messages via WVSTART Otherwise they're invisible via "make check", etc. Signed-off-by: Rob Browning Tested-by: Rob Browning --- diff --git a/t/test-xdev.sh b/t/test-xdev.sh index 15bdd7a..8c0cdb1 100755 --- a/t/test-xdev.sh +++ b/t/test-xdev.sh @@ -4,19 +4,19 @@ set -o pipefail if [ $(t/root-status) != root ]; then - echo 'Not root: skipping xdev tests.' + WVSTART 'not root: skipping tests' exit 0 # FIXME: add WVSKIP. fi if ! modprobe loop; then - echo 'Unable to load loopback module; skipping dependent tests.' 1>&2 + WVSTART 'unable to load loopback module; skipping tests' 1>&2 exit 0 fi # These tests are only likely to work under Linux for now # (patches welcome). if ! [[ $(uname) =~ Linux ]]; then - echo 'Not Linux: skipping xdev tests.' + WVSTART 'not Linux: skipping tests' exit 0 # FIXME: add WVSKIP. fi