From: Jérémie Galarneau Date: Thu, 27 Jul 2017 20:48:44 +0000 (-0400) Subject: Tests: don't assume a 4K page size in test_notification X-Git-Tag: v2.10.0~50 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cddab2ae1dae54c4325d55bb2995e8bc5ce7311a;p=lttng-tools.git Tests: don't assume a 4K page size in test_notification Signed-off-by: Jérémie Galarneau --- 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