Home | History | Annotate | Download | only in tests
      1 #!/bin/sh
      2 
      3 # umovestr short read regression test
      4 
      5 . "${srcdir=.}/init.sh"
      6 
      7 OUT="$LOG.out"
      8 EXP="$LOG.exp"
      9 
     10 run_prog > /dev/null
     11 run_strace -veexecve -s262144 $args > "$EXP"
     12 check_prog sed
     13 sed 1d < "$LOG" > "$OUT"
     14 match_diff "$OUT" "$EXP"
     15 
     16 rm -f "$EXP" "$OUT"
     17 
     18 exit 0
     19