• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3# Check ioctl syscall decoding.
4
5. "${srcdir=.}/init.sh"
6
7check_prog grep
8run_prog > /dev/null
9run_strace -a16 -eioctl "$@" $args > "$EXP"
10grep -v '^ioctl([012][,<]' < "$LOG" > "$OUT"
11match_diff "$OUT" "$EXP"
12