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