Skip to contentSkip to conversation

master - tests: allow add printable skip message

PATCH Zdenek Kabelac 1 participant 1 message Apr 24, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=f50229041bfc9570aeae0eef614f1e68f157802e
Commit:        f50229041bfc9570aeae0eef614f1e68f157802e
Parent:        a939857a63e7e119e6a4ce0f749cf981a196aabc
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Apr 24 20:32:21 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Sat Apr 25 00:40:02 2015 +0200

tests: allow add printable skip message

---
 test/lib/utils.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
test/lib/utils.sh +1 -0
index a610632..80e5922 100644
@@ -209,6 +209,7 @@ dm_table() {
 }
 
 skip() {
+	test "$#" -eq 0 || echo "TEST SKIPPED: $@"
 	touch SKIP_THIS_TEST
 	exit 200
 }