Skip to contentSkip to conversation

tests: check s390_guarded_storage system call decoder

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

lore
Share & tools
lore
#0 lore raw

PATCH 7/12 tests: check s390_guarded_storage system call decoder

* configure.ac (AC_CHECK_HEADERS): Add asm/guarded_storage.h.
* tests/s390_guarded_storage-v.c: New file.
* tests/s390_guarded_storage.c: Likewise.
* tests/.gitignore: Add s390_guarded_storage, s390_guarded_storage-v.
* tests/pure_executables.list: Likewise.
* tests/gen_tests.in (s390_guarded_storage, s390_guarded_storage-v):
New tests.

---
 configure.ac                   |   1 +
 tests/.gitignore               |   2 +
 tests/gen_tests.in             |   4 +-
 tests/pure_executables.list    |   2 +
 tests/s390_guarded_storage-v.c |   2 +
 tests/s390_guarded_storage.c   | 229 +++++++++++++++++++++++++++++++++++++++++
 6 files changed, 239 insertions(+), 1 deletion(-)
 create mode 100644 tests/s390_guarded_storage-v.c
 create mode 100644 tests/s390_guarded_storage.c
configure.ac +1 -0
index 63595ce..fc164c8 100644
@@ -392,6 +392,7 @@ AC_CHECK_MEMBERS(m4_normalize([
 
 AC_CHECK_HEADERS(m4_normalize([
 	asm/cachectl.h
+	asm/guarded_storage.h
 	asm/sysmips.h
 	bluetooth/bluetooth.h
 	elf.h
tests/.gitignore +2 -0
index 19aa493..379d8c1 100644
@@ -357,6 +357,8 @@ rt_sigsuspend
 rt_sigtimedwait
 rt_tgsigqueueinfo
 run_expect_termsig
+s390_guarded_storage
+s390_guarded_storage-v
 s390_sthyi
 s390_sthyi-v
 sched_get_priority_mxx
tests/gen_tests.in +3 -1
index 968f6e4..5a9e4ed 100644
@@ -303,8 +303,10 @@ rt_sigreturn	-esignal='!USR1'
 rt_sigsuspend	-a20 -esignal=none
 rt_sigtimedwait	-a38
 rt_tgsigqueueinfo	-esignal=none
+s390_guarded_storage	-a32
+s390_guarded_storage-v	-e trace=s390_guarded_storage -a32 -v
 s390_sthyi	-a47
-s390_sthyi-v	-e trace=s390_sthyi -a47
+s390_sthyi-v	-e trace=s390_sthyi -a47 -v
 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 d8b997d..dc43a93 100755
@@ -296,6 +296,8 @@ rt_sigreturn
 rt_sigsuspend
 rt_sigtimedwait
 rt_tgsigqueueinfo
+s390_guarded_storage
+s390_guarded_storage-v
 s390_sthyi
 s390_sthyi-v
 sched_get_priority_mxx
tests/s390_guarded_storage-v.c new file +2 -0
new file mode 100644
index 0000000..05afd9f
@@ -0,0 +1,2 @@
+#define VERBOSE 1
+#include "s390_guarded_storage.c"
tests/s390_guarded_storage.c new file +229 -0

229 lines not on this page · raw message

Signature · 1 line
2.1.4