Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161373800
D18495.id51796.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
772 B
Referenced Files
None
Subscribers
None
D18495.id51796.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D18495: Fix sys.kern.coredump_phnum_test.coredump_phnum on i386
Attached
Detach File
Event Timeline
Log In to Comment