From 115788ea19265b33dc75298ff63c4162bb79d7fd Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 16 Mar 2015 14:17:49 +0100 Subject: [PATCH] tests: use --no-act for logger tests and also use --stderr on one place only. Signed-off-by: Karel Zak --- tests/ts/logger/options | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/ts/logger/options b/tests/ts/logger/options index a040a2665f..aa21239857 100755 --- a/tests/ts/logger/options +++ b/tests/ts/logger/options @@ -34,15 +34,15 @@ echo "<66>" prio_prefix > $TS_OUTDIR/input_prio_prefix # bash 4 might not be available, use go-around hash tests_array=( - "simple:--stderr test" - "log_pid:--stderr -i test" - "log_pid_long:--stderr --id test" - "log_pid_define:--stderr --id=12345 test" + "simple:test" + "log_pid:-i test" + "log_pid_long:--id test" + "log_pid_define:--id=12345 test" "log_pid_no_arg:-is test" - "input_file_simple:--stderr -f $TS_OUTDIR/input_simple" - "input_file_empty_line:--stderr -f $TS_OUTDIR/input_empty_line" - "input_file_skip_empty:--stderr --file $TS_OUTDIR/input_empty_line -e" - "input_file_prio_prefix:--stderr --file $TS_OUTDIR/input_prio_prefix --skip-empty --prio-prefix" + "input_file_simple:-f $TS_OUTDIR/input_simple" + "input_file_empty_line:-f $TS_OUTDIR/input_empty_line" + "input_file_skip_empty:--file $TS_OUTDIR/input_empty_line -e" + "input_file_prio_prefix:--file $TS_OUTDIR/input_prio_prefix --skip-empty --prio-prefix" ) export TZ="GMT" @@ -55,7 +55,7 @@ for i in "${tests_array[@]}"; do options="${i##*:}" ts_init_subtest "$name" - $TS_HELPER_LOGGER -t "test_tag" $options > "$TS_OUTPUT" 2>&1 + $TS_HELPER_LOGGER --stderr --no-act -t "test_tag" $options > "$TS_OUTPUT" 2>&1 ts_finalize_subtest done -- 2.47.2