Skip to contentSkip to conversation

master - tests: fix kernal_at_least argument in aux.sh

PATCH Heinz Mauelshagen 1 participant 1 message May 17, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a39eaea27dcd2fd895740193e82ca6d0683eb3ad
Commit:        a39eaea27dcd2fd895740193e82ca6d0683eb3ad
Parent:        5052970da3bdf3ef702fa0f54a25cc2a44d0829e
Author:        Heinz Mauelshagen <[email protected]>
AuthorDate:    Thu May 17 14:40:17 2018 +0200
Committer:     Heinz Mauelshagen <[email protected]>
CommitterDate: Thu May 17 14:41:47 2018 +0200

tests: fix kernal_at_least argument in aux.sh

---
 test/lib/aux.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/aux.sh +1 -1
index 5b2aebf..f6206ce 100644
@@ -843,7 +843,7 @@ prepare_backing_dev() {
 		return 0
 	elif test "${LVM_TEST_PREFER_BRD-1}" = "1" && \
 	     test ! -d /sys/block/ram0 && \
-	     kernel_at_least 4 16 && \
+	     kernel_at_least 4 16 0 && \
 	     test "$size" -lt 16384; then
 		# try to use ramdisk if possible, but for
 		# big allocs (>16G) do not try to use ramdisk