Blame SOURCES/2001-limit-qual_fault-scope-on-aarch64.patch

fffaa6
Index: strace-5.7/tests/qual_fault.test
fffaa6
===================================================================
fffaa6
--- strace-5.7.orig/tests/qual_fault.test	2020-06-02 10:41:25.870177356 +0200
fffaa6
+++ strace-5.7/tests/qual_fault.test	2020-06-02 10:48:33.284302800 +0200
fffaa6
@@ -83,19 +83,34 @@
fffaa6
 	done
fffaa6
 }
fffaa6
 
fffaa6
-for err in '' ENOSYS 22 einval; do
fffaa6
+case "$STRACE_ARCH" in
fffaa6
+	aarch64)
fffaa6
+	ERRS='EnoSys 22'
fffaa6
+	NUMBERS1='2'
fffaa6
+	NUMBERS2='3'
fffaa6
+	NUMBERS2='5'
fffaa6
+	;;
fffaa6
+	*)
fffaa6
+	ERRS='ENOSYS 22 einval'
fffaa6
+	NUMBERS1='1 2 3 5 7 11'
fffaa6
+	NUMBERS2='1 2 3 5 7 11'
fffaa6
+	NUMBERS3='1 2 3 5 7 11'
fffaa6
+	;;
fffaa6
+esac
fffaa6
+
fffaa6
+for err in '' $(echo $ERRS); do
fffaa6
 	for fault in writev desc,51; do
fffaa6
 		check_fault_injection \
fffaa6
 			writev $fault "$err" '' '' '' 1 -efault=chdir
fffaa6
 		check_fault_injection \
fffaa6
 			writev $fault "$err" '' '' '' 1 -efault=chdir -efault=none
fffaa6
-		for F in 1 2 3 5 7 11; do
fffaa6
+		for F in $(echo $NUMBERS1); do
fffaa6
 			check_fault_injection \
fffaa6
 				writev $fault "$err" $F '' '' 1
fffaa6
 			check_fault_injection \
fffaa6
 				writev $fault "$err" $F '' + 1
fffaa6
 
fffaa6
-			for L in 1 2 3 5 7 11; do
fffaa6
+			for L in $(echo $NUMBERS2); do
fffaa6
 				[ "$L" -ge "$F" ] ||
fffaa6
 					continue
fffaa6
 				check_fault_injection \
fffaa6
@@ -104,12 +119,12 @@
fffaa6
 					writev $fault "$err" $F $L + 1
fffaa6
 			done
fffaa6
 
fffaa6
-			for S in 1 2 3 5 7 11; do
fffaa6
+			for S in $(echo $NUMBERS2); do
fffaa6
 				check_fault_injection \
fffaa6
 					writev $fault "$err" $F '' $S 1
fffaa6
 				check_fault_injection \
fffaa6
 					writev $fault "$err" $F '' $S 4
fffaa6
-				for L in 1 2 3 5 7 11; do
fffaa6
+				for L in $(echo $NUMBERS3); do
fffaa6
 					[ "$L" -ge "$F" ] ||
fffaa6
 						continue
fffaa6
 					check_fault_injection \