Dmitry V. Levin
d35d5ecc4d
* msghdr.c (print_scm_rights): Do not print more than max_strlen descriptors in abbrev mode. * tests/msg_control.c (DEFAULT_STRLEN): New macro. (print_fds): Use it. (test_scm_rights3): New function. (main): Use it to test SCM_RIGHTS output in abbrev mode. * tests/msg_control-v.c: New file. * tests/msg_control-v.test: New test. * tests/.gitignore: Add msg_control-v. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add msg_control-v.test.
7 lines
141 B
Bash
Executable File
7 lines
141 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check verbose decoding of struct msghdr ancillary data.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
run_strace_match_diff -v -a21 -e trace=sendmsg
|