Home | History | Annotate | Download | only in tests-m32
      1 #!/bin/sh
      2 
      3 # Check decoding of set_thread_area and get_thread_area syscalls on x86.
      4 
      5 . "${srcdir=.}/init.sh"
      6 
      7 check_prog sed
      8 run_prog > /dev/null
      9 run_strace -a22 -e trace=reboot,/[gs]et_thread_area $args > "$EXP"
     10 sed '0,/^reboot/d' "$LOG" > "$OUT"
     11 match_diff "$OUT" "$EXP"
     12