From c9b9deb76a51d2d74085841ee7e332eea18b49c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 1 Jun 2017 15:26:47 -0400 Subject: [PATCH] Tests: channel subbuffers must be larger or equal to PAGE_SIZE MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The multi-app notification test creates channel with 4096 byte subbuffers. However, this is not supported on architectures with larger pages, such as PPC64el. Signed-off-by: Jérémie Galarneau --- .../regression/tools/notification/test_notification_multi_app | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/regression/tools/notification/test_notification_multi_app b/tests/regression/tools/notification/test_notification_multi_app index a8f0de9f9..e9271653f 100755 --- a/tests/regression/tools/notification/test_notification_multi_app +++ b/tests/regression/tools/notification/test_notification_multi_app @@ -45,6 +45,8 @@ TRACE_PATH=$(mktemp -d) DIR=$(readlink -f $TESTDIR) +PAGE_SIZE=$(getconf PAGE_SIZE) + NUM_TESTS=46 source $TESTDIR/utils/utils.sh @@ -168,7 +170,7 @@ function test_multi_app () rm ${file_sync_after_first_event} create_lttng_session_ok $SESSION_NAME $TRACE_PATH - enable_ust_lttng_channel_ok $SESSION_NAME $UST_CHANNEL_NAME --subbuf-size=4096 + enable_ust_lttng_channel_ok $SESSION_NAME $UST_CHANNEL_NAME --subbuf-size=$PAGE_SIZE enable_ust_lttng_event_ok $SESSION_NAME $EVENT_NAME $UST_CHANNEL_NAME # Fetch consumerd testpoint pipe information -- 2.34.1