blob: 38070f30764ea382258fcf7da6aa1ac2c80c3fe4 [file] [log] [blame]
#!/bin/sh
# Check -t option.
. "${srcdir=.}/init.sh"
run_prog_skip_if_failed date +%T > /dev/null
run_prog ../sleep 0
t0="$(date +%T)"
run_strace -t -eexecve $args
t1="$(date +%T)"
cat > "$EXP" << __EOF__
($t0|$t1) execve\\("\\.\\./sleep", \\["\\.\\./sleep", "0"\\], 0x[[:xdigit:]]* /\\* [[:digit:]]* vars \\*/\\) = 0
__EOF__
match_grep "$LOG" "$EXP"