diff options
Diffstat (limited to 'tests/strace-tt.test')
-rwxr-xr-x | tests/strace-tt.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/strace-tt.test b/tests/strace-tt.test index 3f80001eb..36b0be9e8 100755 --- a/tests/strace-tt.test +++ b/tests/strace-tt.test @@ -6,7 +6,7 @@ run_prog_skip_if_failed date +%s > "$LOG" run_prog_skip_if_failed date +%T --date "@$(cat "$LOG")" > /dev/null -run_prog ./sleep 0 +run_prog ../sleep 0 s0="$(date +%s)" run_strace -tt -eexecve $args @@ -21,7 +21,7 @@ while [ "$s" -le "$s1" ]; do done cat > "$EXP" << __EOF__ -($t_reg)\\.[[:digit:]]{6} execve\\("\\./sleep", \\["\\./sleep", "0"\\], \\[/\\* [[:digit:]]+ vars \\*/\\]\\) = 0 +($t_reg)\\.[[:digit:]]{6} execve\\("\\.\\./sleep", \\["\\.\\./sleep", "0"\\], \\[/\\* [[:digit:]]+ vars \\*/\\]\\) = 0 __EOF__ match_grep "$LOG" "$EXP" |