mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests/test-driver: Avoid "head" with negative line count.
It's not supported on macOS, and not needed here.
This commit is contained in:
parent
ca2f54e729
commit
d1e16514d0
Notes:
Alexandre Julliard
2024-04-09 15:47:10 -05:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/770
@ -188,7 +188,7 @@ details=$(awk "$awk_program" "$log_file")
|
||||
|
||||
# In case of SIGABRT or SIGSEGV, add tag and print second to last line, containing the
|
||||
# "(core dumped)" message.
|
||||
nxt_to_last_line=$(tail -n2 "$log_file" | head -n -1)
|
||||
nxt_to_last_line=$(tail -n2 "$log_file" | head -n1)
|
||||
if [ "$tweaked_estatus" -eq 134 ]; then
|
||||
details="$details# [SIGABRT] <fade>$nxt_to_last_line<reset>"
|
||||
elif [ "$tweaked_estatus" -eq 139 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user