Home | History | Annotate | Download | only in tests-m32
      1 #!/bin/sh
      2 
      3 # Check decoding of prctl PR_GET_CHILD_SUBREAPER, PR_GET_ENDIAN, PR_GET_FPEMU,
      4 # and PR_GET_FPEXC operations.
      5 . "${srcdir=.}/init.sh"
      6 
      7 check_prog grep
      8 run_prog > /dev/null
      9 run_strace -a25 -eprctl $args > "$EXP"
     10 LC_ALL=C grep -Ev '^prctl\(PR_[GS]ET_([^CEF]|.[^HNP]|..[^DEI])' \
     11 	< "$LOG" > "$OUT"
     12 match_diff "$OUT" "$EXP"
     13