]> granicus.if.org Git - strace/commitdiff
tests: skip fault injection tests on hppa if the kernel is too old
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 5 Jan 2017 20:46:48 +0000 (20:46 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 5 Jan 2017 20:46:48 +0000 (20:46 +0000)
* tests/fault_injection.sh: Add the minimal kernel version for hppa.

tests/fault_injection.sh

index 010c1c2053f3b4ee78072356cebe674bdb43e7b9..20860bfef79f4579a30bdbbd950d0f23a2b4f997 100755 (executable)
@@ -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.