From: Dmitry V. Levin Date: Thu, 5 Jan 2017 20:46:48 +0000 (+0000) Subject: tests: skip fault injection tests on hppa if the kernel is too old X-Git-Tag: v4.16~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae663f17fef1a6ee727a0d66bf5b7c0a6da79d26;p=strace tests: skip fault injection tests on hppa if the kernel is too old * tests/fault_injection.sh: Add the minimal kernel version for hppa. --- diff --git a/tests/fault_injection.sh b/tests/fault_injection.sh index 010c1c20..20860bfe 100755 --- a/tests/fault_injection.sh +++ b/tests/fault_injection.sh @@ -39,6 +39,10 @@ case "$STRACE_ARCH" in # NT_ARM_SYSTEM_CALL regset is supported by linux kernel # starting with commit v3.19-rc1~59^2~16. require_min_kernel_version_or_skip 3.19 ;; + hppa) + # Syscall number and return value modification did not work + # properly before commit v4.5-rc7~31^2~1. + require_min_kernel_version_or_skip 4.5 ;; sparc*) # Reloading the syscall number from %g1 register is supported # by linux kernel starting with commit v4.5-rc7~35^2~3.