mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Check result of seq call and save output via atf_check -o
This ensures that seq outputting to ints will not fail as silently if there's an error.
This commit is contained in:
parent
8d6ae10af6
commit
7c69f31eb6
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ broken_pipe_body()
|
|||
{
|
||||
atf_expect_fail "Can't seem to get testcase to work in test environment. Reproduces easily in interactive shell."
|
||||
|
||||
seq -f '%128g' 1 1000 > ints
|
||||
atf_check -o save:ints seq -f '%128g' 1 1000
|
||||
atf_check -s exit:1 -o ignore -e "inline:tail: stdout" tail -n 856 ints | awk '{ exit }'
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue