diff options
| author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-05-04 22:29:20 +0200 |
|---|---|---|
| committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-07-07 13:26:46 +0200 |
| commit | b33b459a4c28a40e53c812afd8e40caff2e436ed (patch) | |
| tree | 22a7948e1e15a7c5b04a7e0d4cbf40d5fdac735b /tools/testing/selftests/wireguard/qemu/arch/i686.config | |
| parent | 19b81aa9ed3358d08e4b691d8dd2ad88d38b3e34 (diff) | |
| download | wireguard-linux-b33b459a4c28a40e53c812afd8e40caff2e436ed.tar.xz wireguard-linux-b33b459a4c28a40e53c812afd8e40caff2e436ed.zip | |
wireguard: selftests: set panic_on_warn=1 from cmdline
commit 3fc1b11e5d7278437bdfff0e01f51e777eefb222 upstream.
Rather than setting this once init is running, set panic_on_warn from
the kernel command line, so that it catches splats from WireGuard
initialization code and the various crypto selftests.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tools/testing/selftests/wireguard/qemu/arch/i686.config')
| -rw-r--r-- | tools/testing/selftests/wireguard/qemu/arch/i686.config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/wireguard/qemu/arch/i686.config b/tools/testing/selftests/wireguard/qemu/arch/i686.config index a9b4fe795048..6d90892a85a2 100644 --- a/tools/testing/selftests/wireguard/qemu/arch/i686.config +++ b/tools/testing/selftests/wireguard/qemu/arch/i686.config @@ -2,5 +2,5 @@ CONFIG_ACPI=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1" +CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1 panic_on_warn=1" CONFIG_FRAME_WARN=1024 |
