Fix sys.kern.coredump_phnum_test.coredump_phnum on i386
authorEnji Cooper <ngie@FreeBSD.org>
Mon, 22 Apr 2019 11:21:20 +0000 (11:21 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Mon, 22 Apr 2019 11:21:20 +0000 (11:21 +0000)
commit616f60e87e20d0b03c1d8bb93f995993c1e760a2
tree3094b16702e8e22eefa63106428244741ebd401f
parent47c347cb58372beb3209771b3abc857a9e5fb0ae
Fix sys.kern.coredump_phnum_test.coredump_phnum on i386

The zero-padding when printing out the Size field is on 32-bit architectures is
5, not 15. Adjust the regular expression to work with both the 32-bit and
64-bit case.

MFC after: 1 week
Reviewed by: lwhsu, markj
Approved by: emaste (mentor, implicit)
Differential Revision: https://reviews.freebsd.org/D20005
tests/sys/kern/coredump_phnum_test.sh