c3fb92c0ae
* tests/sched_xetscheduler.c: New file. * tests/sched_xetscheduler.test: New test. * tests/.gitignore: Add sched_xetscheduler. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add sched_xetscheduler.test.
12 lines
251 B
Bash
Executable File
12 lines
251 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check sched_getscheduler and sched_setscheduler syscalls decoding.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog > /dev/null
|
|
OUT="$LOG.out"
|
|
run_strace -esched_getscheduler,sched_setscheduler -a22 $args > "$OUT"
|
|
match_diff "$LOG" "$OUT"
|
|
rm -f "$OUT"
|