Home | History | Annotate | Download | only in tests
      1 #!/bin/sh
      2 
      3 # Check pipe/pipe2 syscalls decoding.
      4 
      5 . "${srcdir=.}/init.sh"
      6 
      7 syscall=pipe2
      8 for n in pipe; do
      9 	$STRACE -e$n -h > /dev/null && syscall=$syscall,$n
     10 done
     11 
     12 run_prog
     13 run_strace -e$syscall $args
     14 match_grep
     15 
     16 exit 0
     17