Skip to contentSkip to conversation

tests: check s390_sthyi system call decoder

PATCH New Eugene Syromyatnikov 1 participant 1 message Jan 22, 2018 s390

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tests: check s390_sthyi system call decoder

* configure.ac (AC_CHECK_FUNCS): Add iconv_open. (AC_CHECK_HEADERS): Add iconv.h.
* tests/s390_sthyi-v.c: New file.
* tests/s390_sthyi.c: Likewise.
* tests/.gitignore: Add s390_sthyi, s390_sthyi-v.
* tests/pure_executables.list: Likewise.
* tests/gen_tests.in (s390_sthyi, s390_sthyi): New tests.

---
 configure.ac                |   2 +
 tests/.gitignore            |   2 +
 tests/gen_tests.in          |   2 +
 tests/pure_executables.list |   2 +
 tests/s390_sthyi-v.c        |   2 +
 tests/s390_sthyi.c          | 786 ++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 796 insertions(+)
 create mode 100644 tests/s390_sthyi-v.c
 create mode 100644 tests/s390_sthyi.c
configure.ac +2 -0
index d962f19..001dfa8 100644
@@ -287,6 +287,7 @@ AC_CHECK_FUNCS(m4_normalize([
 	fstatat
 	ftruncate
 	futimens
+	iconv_open
 	if_indextoname
 	open64
 	prctl
@@ -394,6 +395,7 @@ AC_CHECK_HEADERS(m4_normalize([
 	asm/sysmips.h
 	bluetooth/bluetooth.h
 	elf.h
+	iconv.h
 	inttypes.h
 	linux/bsg.h
 	linux/cryptouser.h
tests/.gitignore +2 -0
index 4c54589..19aa493 100644
@@ -357,6 +357,8 @@ rt_sigsuspend
 rt_sigtimedwait
 rt_tgsigqueueinfo
 run_expect_termsig
+s390_sthyi
+s390_sthyi-v
 sched_get_priority_mxx
 sched_rr_get_interval
 sched_xetaffinity
tests/gen_tests.in +2 -0
index 93b1687..968f6e4 100644
@@ -303,6 +303,8 @@ rt_sigreturn	-esignal='!USR1'
 rt_sigsuspend	-a20 -esignal=none
 rt_sigtimedwait	-a38
 rt_tgsigqueueinfo	-esignal=none
+s390_sthyi	-a47
+s390_sthyi-v	-e trace=s390_sthyi -a47
 sched	test_trace_expr times -e/sched
 sched_get_priority_mxx	-a33 -e trace=sched_get_priority_min,sched_get_priority_max
 sched_rr_get_interval	-a31
tests/pure_executables.list +2 -0
index 8f5ff31..d8b997d 100755
@@ -296,6 +296,8 @@ rt_sigreturn
 rt_sigsuspend
 rt_sigtimedwait
 rt_tgsigqueueinfo
+s390_sthyi
+s390_sthyi-v
 sched_get_priority_mxx
 sched_rr_get_interval
 sched_xetaffinity
tests/s390_sthyi-v.c new file +2 -0
new file mode 100644
index 0000000..8605520
@@ -0,0 +1,2 @@
+#define VERBOSE 1
+#include "s390_sthyi.c"
tests/s390_sthyi.c new file +786 -0

786 lines not on this page · raw message

Signature · 1 line
2.1.4