aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorAlexander Egorenkov <eaibmz@gmail.com>2024-06-11 11:40:44 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-06-12 09:29:39 +0000
commitb0eebb71a5125bd279f22818f371012829fae211 (patch)
tree9c0ccb259e648a1a97136207d15c1e3353ad7a1d /sys
parent4d75f4f7885c0822616b1ce768d24df172173a43 (diff)
sys/test: fix test 'expressions_be'
Add a missing zero byte to the input data. $ go test -v -count=1 -run=Test/64 ./pkg/runtest/ -filter=expressions_be === NAME Test/64 ... run.go:65: expressions_be C executing program ### start ### call=0 errno=0 ### call=1 errno=22 ### call=2 errno=0 ### call=3 errno=0 Signed-off-by: Alexander Egorenkov <eaibmz@gmail.com>
Diffstat (limited to 'sys')
-rw-r--r--sys/test/test/expressions_be2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/test/test/expressions_be b/sys/test/test/expressions_be
index fde4342ab..1e75c674c 100644
--- a/sys/test/test/expressions_be
+++ b/sys/test/test/expressions_be
@@ -1,6 +1,6 @@
# requires: bigendian
syz_compare(&AUTO="00ff0000", 0x4, &AUTO=@conditional2={0x0, @void, 0xff}, AUTO)
-syz_compare(&AUTO="01001234ff0000", 0x8, &AUTO=@conditional2={0x1, @value=0x1234, 0xff}, AUTO)
+syz_compare(&AUTO="0100001234ff0000", 0x8, &AUTO=@conditional2={0x1, @value=0x1234, 0xff}, AUTO)
syz_compare(&AUTO="1100220000330000", 0x8, &AUTO=@conditional3={0x11, {0x0, @void, 0x22}, 0x33}, AUTO)
syz_compare(&AUTO="1101aabbccdd220000330000", 0xc, &AUTO=@conditional3={0x11, {0x1, @value=0xaabbccdd, 0x22}, 0x33}, AUTO) \ No newline at end of file