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

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