From 63f1709b6e76d5158720512fb06c8b78b3c954b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 27 Jul 2017 16:48:44 -0400 Subject: [PATCH 1/1] Tests: don't assume a 4K page size in test_notification MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- tests/regression/tools/notification/test_notification | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/regression/tools/notification/test_notification b/tests/regression/tools/notification/test_notification index 48a5a16cb..421abe0ee 100755 --- a/tests/regression/tools/notification/test_notification +++ b/tests/regression/tools/notification/test_notification @@ -36,6 +36,7 @@ CHANNEL_NAME="my_ust_channel" EVENT_NAME="tp:tptest" TRACE_PATH=$(mktemp -d) +PAGE_SIZE=$(getconf PAGE_SIZE) DIR=$(readlink -f $TESTDIR) @@ -50,7 +51,7 @@ start_lttng_sessiond_notap create_lttng_session_notap $SESSION_NAME $TRACE_PATH -enable_ust_lttng_channel_notap $SESSION_NAME $CHANNEL_NAME --subbuf-size=4096 +enable_ust_lttng_channel_notap $SESSION_NAME $CHANNEL_NAME --subbuf-size=$PAGE_SIZE enable_ust_lttng_event_notap $SESSION_NAME $EVENT_NAME $CHANNEL_NAME #This is needed since the testpoint create a pipe with the consumer type suffixed -- 2.34.1