summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/lttng-tools/0006-Tests-check-for-lttng-modules-presence.patch
blob: 30aa66b2c8ccb5463e0f50d10aa341635a14cd00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 92f93238f1df005aadc98e105c0dd0e04a5955a7 Mon Sep 17 00:00:00 2001
From: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Date: Mon, 25 Mar 2019 14:24:51 -0400
Subject: [2/2] tests: check for lttng-modules presence

Upstream-Status: Accepted [5da3fc8579a9f93ea4767729a107784bf2d034ae]
Backported to 2.11 and 2.10

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
---
 tests/regression/tools/notification/test_notification_kernel | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/regression/tools/notification/test_notification_kernel b/tests/regression/tools/notification/test_notification_kernel
index 6d7f256ae..e7368df26 100755
--- a/tests/regression/tools/notification/test_notification_kernel
+++ b/tests/regression/tools/notification/test_notification_kernel
@@ -108,6 +108,7 @@ function kernel_test
 }
 
 if [ "$(id -u)" == "0" ]; then
+	validate_lttng_modules_present
 	kernel_test
 else
 	# Kernel tests are skipped.
-- 
2.17.1