diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-01-05 12:44:49 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-01-05 12:50:29 +0100 |
| commit | d646e21ff436cd2a40b23314436cd53f21ae9500 (patch) | |
| tree | c6a58928ecfbef09b335d19a6d8c20884203b688 /prog/encoding_test.go | |
| parent | c5f5069930ee90925617ded2e413bc99716eb559 (diff) | |
prog: fix tests for string enforcement
String value enforcement broke a number of tests
where we use different values.
Be more string as to what string values we use in tests.
Required to add tmpfs descriptions to test syz_mount_image.
Also special-casing AF_ALG algorithms as these are auto-generated.
Diffstat (limited to 'prog/encoding_test.go')
| -rw-r--r-- | prog/encoding_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/encoding_test.go b/prog/encoding_test.go index b6e331cf0..e5aa82146 100644 --- a/prog/encoding_test.go +++ b/prog/encoding_test.go @@ -338,7 +338,7 @@ func TestSerializeDeserialize(t *testing.T) { target := initTargetTest(t, "test", "64") tests := [][2]string{ { - `serialize0(&(0x7f0000408000)={"6861736800000000000000000000", "4849000000"})`, + `serialize0(&(0x7f0000408000)={"6861736800000000000000000000", "48490000"})`, `serialize0(&(0x7f0000408000)={'hash\x00', 'HI\x00'})`, }, { |
