X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fcli%2Fconvert%2Ftest_auto_source_discovery_log_level;h=5e79b01345fcaf5177165d6d5e497102275f2da8;hb=dc807017742411a9a0e328bb25a592aaf10df11e;hp=6d2430e4d790d729e91ec92c6c7a3ec1e4df8ae3;hpb=216b7cc7012d58632a085d2813f1573f09532ac5;p=babeltrace.git diff --git a/tests/cli/convert/test_auto_source_discovery_log_level b/tests/cli/convert/test_auto_source_discovery_log_level index 6d2430e4..5e79b013 100755 --- a/tests/cli/convert/test_auto_source_discovery_log_level +++ b/tests/cli/convert/test_auto_source_discovery_log_level @@ -15,8 +15,8 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# Test log level options are applied to sources auto-discovered by the convert -# command. +# Test how log level options are applied to sources auto-discovered by the +# convert command. if [ "x${BT_TESTS_SRCDIR:-}" != "x" ]; then UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh" @@ -38,55 +38,119 @@ dir_b="${data_dir}/dir-b" dir_ab="${data_dir}/dir-ab" expected_file=$(mktemp -t expected.XXXXXX) -stderr_expected=/dev/null -print_log_level="--params print=\"log-level\"" +print_log_level="--params what=\"log-level\"" +details_sink=("-c" "sink.text.details" "--params=with-metadata=false") debug=2 trace=1 # Apply log level to two components from one non-option argument. cat > "$expected_file" < "$expected_file" < "$expected_file" < "$expected_file" <