73 lines
2.1 KiB
Diff
73 lines
2.1 KiB
Diff
commit 386b8596d721e93ad618e682ecddb323d2bee446
|
|
Author: David Smith <dsmith@redhat.com>
|
|
Date: Thu Mar 2 15:25:17 2017 -0600
|
|
|
|
Fix s390x-specific syscall tests.
|
|
|
|
* testsuite/buildok/syscalls-arch-detailed.stp: Made s390x probe tests
|
|
optional, since the underlying probes don't exist on the 4.10 kernel.
|
|
* testsuite/buildok/nd_syscalls-arch-detailed.stp: Ditto.
|
|
|
|
diff --git a/testsuite/buildok/nd_syscalls-arch-detailed.stp b/testsuite/buildok/nd_syscalls-arch-detailed.stp
|
|
index 364b13e..b927d15 100755
|
|
--- a/testsuite/buildok/nd_syscalls-arch-detailed.stp
|
|
+++ b/testsuite/buildok/nd_syscalls-arch-detailed.stp
|
|
@@ -429,22 +429,22 @@ probe nd_syscall.ppc64_newuname.return ?
|
|
#
|
|
|
|
%( arch == "s390" %?
|
|
-probe nd_syscall.getresgid16
|
|
+probe nd_syscall.getresgid16 ?
|
|
{
|
|
printf("%s, %s\n", name, argstr)
|
|
printf("%p, %p, %p\n", rgid_uaddr, egid_uaddr, sgid_uaddr)
|
|
}
|
|
-probe nd_syscall.getresgid16.return
|
|
+probe nd_syscall.getresgid16.return ?
|
|
{
|
|
printf("%s, %s\n", name, retstr)
|
|
}
|
|
|
|
-probe nd_syscall.getresuid16
|
|
+probe nd_syscall.getresuid16 ?
|
|
{
|
|
printf("%s, %s\n", name, argstr)
|
|
printf("%p, %p, %p\n", ruid_uaddr, euid_uaddr, suid_uaddr)
|
|
}
|
|
-probe nd_syscall.getresuid16.return
|
|
+probe nd_syscall.getresuid16.return ?
|
|
{
|
|
printf("%s, %s\n", name, retstr)
|
|
}
|
|
diff --git a/testsuite/buildok/syscalls-arch-detailed.stp b/testsuite/buildok/syscalls-arch-detailed.stp
|
|
index 8d7d21e..914da9e 100755
|
|
--- a/testsuite/buildok/syscalls-arch-detailed.stp
|
|
+++ b/testsuite/buildok/syscalls-arch-detailed.stp
|
|
@@ -429,22 +429,22 @@ probe syscall.ppc64_newuname.return ?
|
|
#
|
|
|
|
%( arch == "s390" %?
|
|
-probe syscall.getresgid16
|
|
+probe syscall.getresgid16 ?
|
|
{
|
|
printf("%s, %s\n", name, argstr)
|
|
printf("%p, %p, %p\n", rgid_uaddr, egid_uaddr, sgid_uaddr)
|
|
}
|
|
-probe syscall.getresgid16.return
|
|
+probe syscall.getresgid16.return ?
|
|
{
|
|
printf("%s, %s\n", name, retstr)
|
|
}
|
|
|
|
-probe syscall.getresuid16
|
|
+probe syscall.getresuid16 ?
|
|
{
|
|
printf("%s, %s\n", name, argstr)
|
|
printf("%p, %p, %p\n", ruid_uaddr, euid_uaddr, suid_uaddr)
|
|
}
|
|
-probe syscall.getresuid16.return
|
|
+probe syscall.getresuid16.return ?
|
|
{
|
|
printf("%s, %s\n", name, retstr)
|
|
}
|