Page MenuHomeFreeBSD

D18495.id51796.diff
No OneTemporary

D18495.id51796.diff

Index: tests/sys/kern/coredump_phnum_test.sh
===================================================================
--- tests/sys/kern/coredump_phnum_test.sh
+++ tests/sys/kern/coredump_phnum_test.sh
@@ -65,8 +65,7 @@
-x 'readelf -h coredump_phnum_helper.core | grep "Number of program headers:"'
atf_check -o "match:There are 66[0-9]{3} program headers" \
-x 'readelf -l coredump_phnum_helper.core | grep -1 "program headers"'
- atf_check -o "match: 0000000000000001 .* 66[0-9]{3} " \
- -x 'readelf -S coredump_phnum_helper.core | grep -A1 "^ \[ 0\] "'
+ atf_check -x "test `elfdump -c coredump_phnum_helper.core | grep sh_info | awk '{print $2}'` -gt 65535"
atf_check -o "match:66[0-9]{3}" \
-x 'procstat -v coredump_phnum_helper.core | wc -l'

File Metadata

Mime Type
text/plain
Expires
Sat, Jul 4, 6:02 AM (17 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34655383
Default Alt Text
D18495.id51796.diff (772 B)

Event Timeline