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

35b686
Index: strace-5.1/tests/qual_fault.test
35b686
===================================================================
35b686
--- strace-5.1.orig/tests/qual_fault.test	2018-12-10 01:00:00.000000000 +0100
35b686
+++ strace-5.1/tests/qual_fault.test	2019-06-13 16:59:58.498626547 +0200
35b686
@@ -75,18 +75,31 @@
35b686
 	done
35b686
 }
35b686
 
35b686
-for err in '' ENOSYS 22 einval; do
35b686
+case "$STRACE_ARCH" in
35b686
+      aarch64)
35b686
+      ERRS='EnoSys 22'
35b686
+      NUMBERS1='2'
35b686
+      NUMBERS2='3'
35b686
+      ;;
35b686
+      *)
35b686
+      ERRS='ENOSYS 22 einval'
35b686
+      NUMBERS1='1 2 3 5 7 11'
35b686
+      NUMBERS2='1 2 3 5 7 11'
35b686
+      ;;
35b686
+esac
35b686
+
35b686
+for err in '' $(echo $ERRS); do
35b686
 	for fault in writev desc,51; do
35b686
 		check_fault_injection \
35b686
 			writev $fault "$err" '' '' 1 -efault=chdir
35b686
 		check_fault_injection \
35b686
 			writev $fault "$err" '' '' 1 -efault=chdir -efault=none
35b686
-		for F in 1 2 3 5 7 11; do
35b686
+		for F in $(echo $NUMBERS1); do
35b686
 			check_fault_injection \
35b686
 				writev $fault "$err" $F '' 1
35b686
 			check_fault_injection \
35b686
 				writev $fault "$err" $F + 1
35b686
-			for S in 1 2 3 5 7 11; do
35b686
+			for S in $(echo $NUMBERS2); do
35b686
 				check_fault_injection \
35b686
 					writev $fault "$err" $F $S 1
35b686
 				check_fault_injection \