All of lore.kernel.org
 help / color / mirror / Atom feed
From: mornfall@sourceware.org <mornfall@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/test api/percent.sh lib/aux.sh lib/utils.sh
Date: 7 Jan 2011 15:04:52 -0000	[thread overview]
Message-ID: <20110107150452.31492.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mornfall at sourceware.org	2011-01-07 15:04:52

Modified files:
	test/api       : percent.sh 
	test/lib       : aux.sh utils.sh 

Log message:
	Skip the api/percent test on kernels <= 2.6.32.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/api/percent.sh.diff?cvsroot=lvm2&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/lib/aux.sh.diff?cvsroot=lvm2&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/lib/utils.sh.diff?cvsroot=lvm2&r1=1.2&r2=1.3

--- LVM2/test/api/percent.sh	2011/01/05 00:16:21	1.3
+++ LVM2/test/api/percent.sh	2011/01/07 15:04:52	1.4
@@ -13,6 +13,9 @@
 
 . lib/test
 
+linux_minor=$(echo `uname -r` | cut -d'.' -f3 | cut -d'-' -f1)
+test $linux_minor -le 32 && skip
+
 aux prepare_devs 2
 vgcreate -c n -s 4k $vg $(cat DEVICES)
 lvcreate -n foo $vg -l 5
--- LVM2/test/lib/aux.sh	2011/01/07 13:04:17	1.4
+++ LVM2/test/lib/aux.sh	2011/01/07 15:04:52	1.5
@@ -10,11 +10,6 @@
 
 . lib/utils
 
-skip() {
-    touch SKIP_THIS_TEST
-    exit 1
-}
-
 prepare_clvmd() {
 	if test -z "$LVM_TEST_LOCKING" || test "$LVM_TEST_LOCKING" -ne 3 ; then
 		return 0 # not needed
--- LVM2/test/lib/utils.sh	2011/01/05 00:26:19	1.2
+++ LVM2/test/lib/utils.sh	2011/01/07 15:04:52	1.3
@@ -146,6 +146,11 @@
     fi
 }
 
+skip() {
+    touch SKIP_THIS_TEST
+    exit 200
+}
+
 . lib/paths || { echo >&2 you must run make first; exit 1; }
 
 PATH=$abs_top_builddir/test/lib:$PATH



                 reply	other threads:[~2011-01-07 15:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110107150452.31492.qmail@sourceware.org \
    --to=mornfall@sourceware.org \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.