Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150394970
D42268.id128939.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
584 B
Referenced Files
None
Subscribers
None
D42268.id128939.diff
View Options
diff --git a/sbin/ping/tests/test_ping.py b/sbin/ping/tests/test_ping.py
--- a/sbin/ping/tests/test_ping.py
+++ b/sbin/ping/tests/test_ping.py
@@ -51,7 +51,7 @@
# Build a package with a timestamp of INT_MAX
# (time-warped package)
payload_no_timestamp = sc.bytes_hex(load)[16:]
- load = (b"\xff" * 8) + sc.hex_bytes(payload_no_timestamp)
+ load = b"\x7f" + (b"\xff" * 7) + sc.hex_bytes(payload_no_timestamp)
if special == "wrong":
# Build a package with a wrong last byte
payload_no_last_byte = sc.bytes_hex(load)[:-2]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 1, 8:37 PM (1 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30653804
Default Alt Text
D42268.id128939.diff (584 B)
Attached To
Mode
D42268: ping tests: Fix test on 32-bit platforms
Attached
Detach File
Event Timeline
Log In to Comment