]> sourceware.org Git - lvm2.git/commitdiff
tests: skip on older version
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 26 Feb 2016 07:45:06 +0000 (08:45 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 26 Feb 2016 09:21:36 +0000 (10:21 +0100)
Skip with older driver version.
Update address.

test/shell/dmstats-create.sh
test/shell/dmstats-report.sh

index d5db79f4558d9c4b2e82ecffc6b0a5f813d68377..028bec72fb2c13f4b7d874b3d5d19a1765955318 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2009-2011 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2016 Red Hat, Inc. All rights reserved.
 #
 # This copyrighted material is made available to anyone wishing to use,
 # modify, copy, or redistribute it subject to the terms and conditions
@@ -7,7 +7,7 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software Foundation,
-# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
 . lib/inittest
 
@@ -24,4 +24,3 @@ dmstats create --start 0 --len 1 "$dev1"
 dmstats create --segments "$dev1"
 dmstats create --precise "$dev1"
 dmstats create --bounds 10ms,20ms,30ms "$dev1"
-
index c36e3ebbe9fe548fe75776a4e27df282260f163b..702ea6155a160ab8369df11c3f8060c2f543a3f1 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2009-2011 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2016 Red Hat, Inc. All rights reserved.
 #
 # This copyrighted material is made available to anyone wishing to use,
 # modify, copy, or redistribute it subject to the terms and conditions
@@ -7,10 +7,13 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software Foundation,
-# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
 . lib/inittest
 
+# Don't attempt to test stats with driver < 4.33.00
+aux driver_at_least 4 33 || skip
+
 # ensure we can create devices (uses dmsetup, etc)
 aux prepare_devs 1
 
@@ -21,4 +24,3 @@ dmstats create --bounds 10ms,20ms,30ms "$dev1"
 dmstats report
 dmstats report --count 1
 dmstats report --histogram
-
This page took 0.043697 seconds and 5 git commands to generate.