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

