1 #!/bin/sh 2 3 # Check rt_sigaction decoding. 4 5 . "${srcdir=.}/init.sh" 6 7 check_prog awk 8 9 ./sigaction || 10 fail_ 'sigaction failed' 11 12 args="-o $LOG -ert_sigaction ./sigaction" 13 $STRACE $args || 14 fail_ "strace $args failed" 15 16 awk -f "$srcdir"/sigaction.awk $LOG || 17 { cat $LOG; fail_ 'unexpected output'; } 18 19 exit 0 20