From d646e21ff436cd2a40b23314436cd53f21ae9500 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 5 Jan 2020 12:44:49 +0100 Subject: 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. --- sys/linux/init_test.go | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'sys/linux/init_test.go') 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 @@ -134,22 +134,6 @@ exit_group(0x1) 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) -- cgit mrf-deployment