From: Jérémie Galarneau Date: Fri, 5 May 2017 22:23:25 +0000 (-0400) Subject: Tests fix: tracefile-size tests assume PAGE_SIZE subbuffers X-Git-Tag: v2.10.0-rc1~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=88ec6b800a77989676e01ce406679a71dc5bb095;p=lttng-tools.git Tests fix: tracefile-size tests assume PAGE_SIZE subbuffers The new subbuffer default sizes break this test as it assumes that the default size of subbuffers is of 1 page. Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/tracefile-limits/test_tracefile_size b/tests/regression/tools/tracefile-limits/test_tracefile_size index 10bd077b5..3dddbe613 100755 --- a/tests/regression/tools/tracefile-limits/test_tracefile_size +++ b/tests/regression/tools/tracefile-limits/test_tracefile_size @@ -48,6 +48,7 @@ function enable_lttng_channel_size_limit () $TESTDIR/../src/bin/lttng/$LTTNG_BIN enable-channel \ -u $channel_name -s $sess_name --buffers-pid \ + --subbuf-size=$PAGE_SIZE \ -C $tracefile_size_limit >/dev/null 2>&1 ok $? "$test_name"