]> granicus.if.org Git - strace/commitdiff
Test non-verbose old_mmap output
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 17 Jan 2018 01:19:36 +0000 (02:19 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 17 Jan 2018 04:34:49 +0000 (04:34 +0000)
* tests/old_mmap-v-none.c: New file.  Include old_mmap.c.
* tests/pure_executables.list: Add old_mmap-v-none.
* tests/.gitignore: Likewise.
* tests/gen_tests.in (old_mmap-v-none): New entry.

tests/.gitignore
tests/gen_tests.in
tests/old_mmap-v-none.c [new file with mode: 0644]
tests/pure_executables.list

index 0b3627476e97bd9922ae570e0fbe4c7e3b9e6f80..68bda3894b7bd9a199459a3c787be22e5e6bbc6e 100644 (file)
@@ -267,6 +267,7 @@ nlattr_unix_diag_msg
 nsyscalls
 nsyscalls-d
 old_mmap
+old_mmap-v-none
 oldfstat
 oldlstat
 oldselect
index 86ad37a2d2c46ac9d9b9379ccc5cc5a8455b0bdc..3f1d1a9be105746db7bd480bab1c8ff1692f4626 100644 (file)
@@ -240,6 +240,7 @@ nlattr_tcamsg                       +netlink_sock_diag.test
 nlattr_tcmsg                   +netlink_sock_diag.test
 nlattr_unix_diag_msg           +netlink_sock_diag.test
 old_mmap       -a11 -e trace=mmap
+old_mmap-v-none        -a11 -e trace=mmap -e verbose=none
 oldfstat       -a18 -v -P stat.sample
 oldlstat       -a32 -v -P stat.sample -P /dev/full
 oldstat        -a32 -v -P stat.sample -P /dev/full
diff --git a/tests/old_mmap-v-none.c b/tests/old_mmap-v-none.c
new file mode 100644 (file)
index 0000000..033503c
--- /dev/null
@@ -0,0 +1 @@
+#include "old_mmap.c"
index b2ac93e9d2f9f334d46457d8b68131a57a0836bf..9ceaacab2301bae61361fd6033bab432af062037 100755 (executable)
@@ -224,6 +224,7 @@ nlattr_tcamsg
 nlattr_tcmsg
 nlattr_unix_diag_msg
 old_mmap
+old_mmap-v-none
 oldfstat
 oldlstat
 oldselect