diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-07-22 10:20:51 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-07-22 10:20:51 +0200 |
| commit | e530ec1befe3153020d601f5066939d984d790ac (patch) | |
| tree | 673a30e4c485b3a4f617deb7f1b2bd306d1420f5 /sys/linux/test/vusb | |
| parent | d8b4c311beb922f45e67ca405cff2b84157b3380 (diff) | |
pkg/csource: test sys/*/test programs
Running sys/*/test programs requires real machines and kernels for each OS.
We can't do that in unit tests, but at least try to deserialize these programs
so that they don't get rotten.
Diffstat (limited to 'sys/linux/test/vusb')
| -rw-r--r-- | sys/linux/test/vusb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/linux/test/vusb b/sys/linux/test/vusb index 500eef14e..0593b4c83 100644 --- a/sys/linux/test/vusb +++ b/sys/linux/test/vusb @@ -1,3 +1,5 @@ # requires: -sandbox=setuid -sandbox=namespace -syz_usb_connect(0x0, 0x24, &(0x7f0000000000)={0x12, 0x1, 0x0, 0x97, 0xff, 0x82, 0x8, 0x2058, 0x1005, 0xc19b, 0x0, 0x0, 0x0, 0x1, [{0x9, 0x2, 0x12, 0x1, 0x0, 0x0, 0x0, 0x0, [{0x9, 0x4, 0x8f, 0x0, 0x0, 0xbf, 0x57, 0x5a, 0x0, [], []}]}]}, 0x0) +# Temporary disabled because deserialization fails (run go test ./pkg/csource). +#syz_usb_connect(0x0, 0x24, &(0x7f0000000000)={0x12, 0x1, 0x0, 0x97, 0xff, 0x82, 0x8, 0x2058, 0x1005, 0xc19b, 0x0, 0x0, 0x0, 0x1, [{0x9, 0x2, 0x12, 0x1, 0x0, 0x0, 0x0, 0x0, [{0x9, 0x4, 0x8f, 0x0, 0x0, 0xbf, 0x57, 0x5a, 0x0, [], []}]}]}, 0x0) +getpid() |
