aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/init_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'sys/linux/init_test.go')
-rw-r--r--sys/linux/init_test.go17
1 files changed, 9 insertions, 8 deletions
diff --git a/sys/linux/init_test.go b/sys/linux/init_test.go
index 4358bef35..44a31149c 100644
--- a/sys/linux/init_test.go
+++ b/sys/linux/init_test.go
@@ -106,8 +106,7 @@ mknod(0x0, 0xc000, 0x0)
mknod(0x0, 0x2000, 0x0)
mknod(0x0, 0x6000, 0x0)
mknod(0x0, 0x6000, 0x700)
-`,
- `
+`, `
mknod(0x0, 0x1000, 0x0)
mknod(0x0, 0x8000, 0x0)
mknod(0x0, 0xc000, 0x0)
@@ -125,8 +124,7 @@ exit(0xc3)
exit_group(0x5a)
exit_group(0x43)
exit_group(0x443)
-`,
- `
+`, `
exit(0x3)
exit(0x1)
exit(0x1)
@@ -143,14 +141,13 @@ 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')
- `,
+`,
},
{
@@ -163,7 +160,11 @@ syz_open_dev$tty1(0xc, 0x4, 0x5)
syz_open_dev$tty1(0xc, 0x4, 0x4)
syz_open_dev$tty1(0xc, 0x4, 0x4)
syz_open_dev$tty1(0xc, 0x4, 0x1)
- `,
+`,
+ },
+ {
+ `ioctl$TIOCSSERIAL(0x0, 0x541f, 0x0)`,
+ `ioctl$TIOCSSERIAL(0x0, 0x541e, 0x0)`,
},
}
for i, test := range tests {