aboutsummaryrefslogtreecommitdiffstats
path: root/prog/any_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-02-26 18:21:51 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-02-26 18:21:51 +0100
commit6284466bc9b948ccf0bfbdb4c80475712d1883c0 (patch)
tree0362f921e431f15a3b8b8cee3da5dec5bf6ac823 /prog/any_test.go
parentd1322dff4c35c033147ce97845e394576d42d7e9 (diff)
prog: properly squash bitfields
Diffstat (limited to 'prog/any_test.go')
-rw-r--r--prog/any_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/prog/any_test.go b/prog/any_test.go
index 104f77f9d..dee9246ea 100644
--- a/prog/any_test.go
+++ b/prog/any_test.go
@@ -39,8 +39,8 @@ func TestSquash(t *testing.T) {
squashed string
}{
{
- `foo$any0(&(0x7f0000000000)={0x11, 0x11223344, 0x2233, 0x1122334455667788, [{0x0, @res32=0x0, 0x0, @i8=0x44, "aabb"}, {0x0, @res64=0x1, 0x0, @i32=0x11223344, "1122334455667788"}]})`,
- `foo$any0(&(0x7f0000000000)=ANY=[@ANYBLOB="1100000044332211223300000000000088776655443322110000000000000000", @ANYRES32=0x0, @ANYBLOB="00000000000000000000000044aabb000000000000000000", @ANYRES64=0x1, @ANYBLOB="0000000000000000443322111122334455667788"])`,
+ `foo$any0(&(0x7f0000000000)={0x11, 0x11223344, 0x2233, 0x1122334455667788, {0x1, 0x7, 0x1, 0x1, 0x1bc, 0x4}, [{0x0, @res32=0x0, 0x0, @i8=0x44, "aabb"}, {0x0, @res64=0x1, 0x0, @i32=0x11223344, "1122334455667788"}]})`,
+ `foo$any0(&(0x7f0000000000)=ANY=[@ANYBLOB="1100000044332211223300000000000088776655443322113d0079230000000000000000", @ANYRES32=0x0, @ANYBLOB="00000000000000000000000044aabb000000000000000000", @ANYRES64=0x1, @ANYBLOB="000000000000000044332211112233445566778800000000"])`,
},
}
for i, test := range tests {