diff options
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-tools/0006-Tests-check-for-lttng-modules-presence.patch')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools/0006-Tests-check-for-lttng-modules-presence.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools/0006-Tests-check-for-lttng-modules-presence.patch b/meta/recipes-kernel/lttng/lttng-tools/0006-Tests-check-for-lttng-modules-presence.patch new file mode 100644 index 0000000000..e07c227f46 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-tools/0006-Tests-check-for-lttng-modules-presence.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 92f93238f1df005aadc98e105c0dd0e04a5955a7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> | ||
3 | Date: Mon, 25 Mar 2019 14:24:51 -0400 | ||
4 | Subject: [2/2] tests: check for lttng-modules presence | ||
5 | |||
6 | Upstream-status: Accepted [5da3fc8579a9f93ea4767729a107784bf2d034ae] | ||
7 | Backported to 2.11 and 2.10 | ||
8 | |||
9 | Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> | ||
10 | --- | ||
11 | tests/regression/tools/notification/test_notification_kernel | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/tests/regression/tools/notification/test_notification_kernel b/tests/regression/tools/notification/test_notification_kernel | ||
15 | index 6d7f256ae..e7368df26 100755 | ||
16 | --- a/tests/regression/tools/notification/test_notification_kernel | ||
17 | +++ b/tests/regression/tools/notification/test_notification_kernel | ||
18 | @@ -108,6 +108,7 @@ function kernel_test | ||
19 | } | ||
20 | |||
21 | if [ "$(id -u)" == "0" ]; then | ||
22 | + validate_lttng_modules_present | ||
23 | kernel_test | ||
24 | else | ||
25 | # Kernel tests are skipped. | ||
26 | -- | ||
27 | 2.17.1 | ||
28 | |||