Blame SOURCES/cryptsetup-tests-device-test.patch

ad2d76
diff -rupN cryptsetup-2.0.3.old/tests/device-test cryptsetup-2.0.3/tests/device-test
ad2d76
--- cryptsetup-2.0.3.old/tests/device-test	2018-06-06 11:00:28.716305843 -0400
ad2d76
+++ cryptsetup-2.0.3/tests/device-test	2018-06-06 11:00:37.036343168 -0400
ad2d76
@@ -39,11 +39,12 @@ function dm_crypt_features()
ad2d76
 
ad2d76
 	VER_MAJ=$(echo $VER_STR | cut -f 1 -d.)
ad2d76
 	VER_MIN=$(echo $VER_STR | cut -f 2 -d.)
ad2d76
+	VER_PAT=$(echo $VER_STR | cut -f 3 -d.)
ad2d76
 
ad2d76
 	[ $VER_MAJ -lt 1 ] && return
ad2d76
 	[ $VER_MAJ -eq 1 -a $VER_MIN -lt 14 ] && return
ad2d76
 	DM_PERF_CPU=1
ad2d76
-	[ $VER_MAJ -eq 1 -a $VER_MIN -lt 17 ] && return
ad2d76
+	[ $VER_MAJ -eq 1 -a $VER_MIN -lt 15 -a $VER_PAT -lt 5 ] && return
ad2d76
 	DM_SECTOR_SIZE=1
ad2d76
 }
ad2d76