]> sourceware.org Git - lvm2.git/commitdiff
tests: allow add printable skip message
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 24 Apr 2015 18:32:21 +0000 (20:32 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 24 Apr 2015 22:40:02 +0000 (00:40 +0200)
test/lib/utils.sh

index a6106323f4b2007eb4701e673a534d25371a8d33..80e5922b575c0378a05bd771b9d00de39218eaec 100644 (file)
@@ -209,6 +209,7 @@ dm_table() {
 }
 
 skip() {
+       test "$#" -eq 0 || echo "TEST SKIPPED: $@"
        touch SKIP_THIS_TEST
        exit 200
 }
This page took 0.037992 seconds and 5 git commands to generate.