From: Jérémie Galarneau Date: Thu, 1 Jun 2017 19:26:47 +0000 (-0400) Subject: Tests: channel subbuffers must be larger or equal to PAGE_SIZE X-Git-Tag: v2.10.0-rc2~27 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c9b9deb76a51d2d74085841ee7e332eea18b49c4;p=lttng-tools.git Tests: channel subbuffers must be larger or equal to PAGE_SIZE 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 --- 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