Home | History | Annotate | Download | only in tests
      1 #!/bin/sh
      2 
      3 # Check select syscall decoding.
      4 
      5 . "${srcdir=.}/init.sh"
      6 
      7 run_prog > /dev/null
      8 syscall=${ME_%.test}
      9 OUT="$LOG.out"
     10 run_strace -a36 -e$syscall $args > "$OUT"
     11 match_diff "$LOG" "$OUT"
     12 
     13 rm -f "$OUT"
     14 
     15 exit 0
     16