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

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