From: Eugene Syromyatnikov Date: Tue, 25 Apr 2017 02:23:12 +0000 (+0200) Subject: tests: add -etrace=?... test X-Git-Tag: v4.17~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfcf14b7d1455a352a92bd8d5d9b296996506120;p=strace tests: add -etrace=?... test Check for some architecture-specific syscalls which are not present on most architectures. * gen_tests.in: Add trace_question test. * tests/trace_question.in: New file. * tests/Makefile.am (EXTRA_DIST): Add it. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 32fc9f08..01846cd6 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -338,6 +338,7 @@ EXTRA_DIST = \ trace_fstat.in \ trace_fstatfs.in \ trace_lstat.in \ + trace_question.in \ trace_stat.in \ trace_stat_like.in \ trace_statfs.in \ diff --git a/tests/gen_tests.in b/tests/gen_tests.in index 0af25236..de9da6d4 100644 --- a/tests/gen_tests.in +++ b/tests/gen_tests.in @@ -308,6 +308,7 @@ times-fail -a12 -e trace=times trace_fstat test_trace_expr '' -e%fstat -v -P stat.sample -P /dev/full trace_fstatfs test_trace_expr '' -e%fstatfs trace_lstat test_trace_expr '' -e%lstat -v -P stat.sample -P /dev/full +trace_question test_trace_expr '' -e?osf_utimes,?/^pkey_.* trace_stat test_trace_expr '' -e%stat -v -P stat.sample -P /dev/full trace_stat_like test_trace_expr '' -e%%stat -v -P stat.sample -P /dev/full trace_statfs test_trace_expr '' -e%statfs diff --git a/tests/trace_question.in b/tests/trace_question.in new file mode 100644 index 00000000..74d662c5 --- /dev/null +++ b/tests/trace_question.in @@ -0,0 +1,4 @@ +osf_utimes -a21 +pkey_alloc -a17 +pkey_free -a13 +pkey_mprotect -a37