strace/tests/set_mempolicy.test
Dmitry V. Levin 636b8c161c numa.c: use print_array function
* numa.c (print_node): New function.
(print_nodemask): Use it via print_array.
(print_page_array, print_int_array): Remove.
(print_addr): New function.
(print_status, print_int): Change for use as print_array callback.
(SYS_FUNC(move_pages)): Use print_addr, print_int, and print_status
via print_array.
* tests/move_pages.c: Update.
* tests/set_mempolicy.c: Likewise.
* tests/set_mempolicy.test: Likewise.
2016-05-07 23:37:52 +00:00

7 lines
107 B
Bash
Executable File

#!/bin/sh
# Check set_mempolicy syscall decoding.
. "${srcdir=.}/init.sh"
run_strace_match_diff -s3 -a35