Dmitry V. Levin
b5a7011d71
* tests/sysinfo.c (main): Check decoding of NULL struct sysinfo pointer. Check decoding of struct sysinfo located at the end of page boundary. * tests/sysinfo.test: Update.
14 lines
196 B
Bash
Executable File
14 lines
196 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check decoding of sysinfo syscall
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog > /dev/null
|
|
OUT="$LOG.out"
|
|
run_strace -a14 -esysinfo $args > "$OUT"
|
|
match_diff "$LOG" "$OUT"
|
|
rm -f "$OUT"
|
|
|
|
exit 0
|