From: Greg Kroah-Hartman Date: Tue, 22 Jan 2019 20:50:11 +0000 (+0100) Subject: test infrastructure patch added to pending. X-Git-Tag: v4.14.95~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=82d60324646cbbe23dec518ada260265b550246e;p=thirdparty%2Fkernel%2Fstable-queue.git test infrastructure patch added to pending. --- diff --git a/pending/test-runtime-test.patch b/pending/test-runtime-test.patch new file mode 100644 index 00000000000..ceccd7868c5 --- /dev/null +++ b/pending/test-runtime-test.patch @@ -0,0 +1,27 @@ +From foo@baz Fri Jan 18 09:08:25 CET 2019 +Date: Fri, 18 Jan 2019 09:08:25 +0100 +To: Greg KH +From: Greg Kroah-Hartman +Subject: test: runtime test + +If this gets noticed by the build/test infrastucture, then it is working properly. + +Don't merge this, for obvious reasons... + +diff --git a/init/main.c b/init/main.c +index ee147103ba1b..1a3d722f25c2 100644 +--- a/init/main.c ++++ b/init/main.c +@@ -1086,6 +1086,12 @@ static int __ref kernel_init(void *unused) + + rcu_end_inkernel_boot(); + ++ /* ++ * If you notice this, your test infrastructure succeeded in finding a ++ * failure, congratulations ++ */ ++ panic("boot canary hit"); ++ + if (ramdisk_execute_command) { + ret = run_init_process(ramdisk_execute_command); + if (!ret)