aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/init_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-05 12:44:49 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-05 12:50:29 +0100
commitd646e21ff436cd2a40b23314436cd53f21ae9500 (patch)
treec6a58928ecfbef09b335d19a6d8c20884203b688 /sys/linux/init_test.go
parentc5f5069930ee90925617ded2e413bc99716eb559 (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 'sys/linux/init_test.go')
-rw-r--r--sys/linux/init_test.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/linux/init_test.go b/sys/linux/init_test.go
index 44a31149c..89a31e289 100644
--- a/sys/linux/init_test.go
+++ b/sys/linux/init_test.go
@@ -136,22 +136,6 @@ exit_group(0x1)
},
{
`
-syz_open_procfs(0x0, &(0x7f0000000000)='io')
-syz_open_procfs(0x0, &(0x7f0000000000)='exe')
-syz_open_procfs(0x0, &(0x7f0000000000)='exe\x00')
-syz_open_procfs(0x0, &(0x7f0000000000)='/exe')
-syz_open_procfs(0x0, &(0x7f0000000000)='./exe\x00')
-`, `
-syz_open_procfs(0x0, &(0x7f0000000000)='io')
-syz_open_procfs(0x0, &(0x7f0000000000)='net\x00')
-syz_open_procfs(0x0, &(0x7f0000000000)='net\x00')
-syz_open_procfs(0x0, &(0x7f0000000000)='net\x00')
-syz_open_procfs(0x0, &(0x7f0000000000)='net\x00')
-`,
- },
-
- {
- `
syz_open_dev$tty1(0xc, 0x4, 0x4)
syz_open_dev$tty1(0xb, 0x2, 0x4)
syz_open_dev$tty1(0xc, 0x4, 0x5)