strace/tests/file_handle.test

16 lines
252 B
Plaintext
Raw Normal View History

#!/bin/sh
# Check name_to_handle_at and open_by_handle_at syscalls decoding.
. "${srcdir=.}/init.sh"
run_prog > /dev/null
OUT="$LOG.out"
run_strace -ename_to_handle_at,open_by_handle_at $args > "$OUT"
match_diff "$LOG" "$OUT"
rm -f "$OUT"
exit 0