mirror of
https://github.com/tstack/lnav.git
synced 2024-08-17 00:40:30 +03:00
[tests] test_tailer tweaks
This commit is contained in:
parent
fd19759bf5
commit
0fd9845580
@ -123,7 +123,7 @@ run_cap_test() {
|
||||
export has_errors="yes"
|
||||
fi
|
||||
else
|
||||
echo "FAIL! EXPECTED OUT MISSING"
|
||||
echo "FAIL! EXPECTED OUT MISSING -- ${srcdir}/expected/${test_file_base}_${test_hash}.out"
|
||||
export has_errors="yes"
|
||||
fi
|
||||
|
||||
|
@ -23,18 +23,7 @@ info: load preview request -- 1234
|
||||
info: exiting...
|
||||
EOF
|
||||
|
||||
run_test ./drive_tailer preview "${test_dir}/remote-log-dir/*"
|
||||
|
||||
check_output "preview of file failed?" <<EOF
|
||||
preview of file: {test_dir}/remote-log-dir/*
|
||||
{test_dir}/remote-log-dir/logfile_access_log.0
|
||||
{test_dir}/remote-log-dir/logfile_access_log.1
|
||||
|
||||
all done!
|
||||
tailer stderr:
|
||||
info: load preview request -- 1234
|
||||
info: exiting...
|
||||
EOF
|
||||
run_cap_test ./drive_tailer preview "${test_dir}/remote-log-dir/*"
|
||||
|
||||
run_test ./drive_tailer possible "${test_dir}/logfile_access_log.*"
|
||||
|
||||
|
@ -223,6 +223,8 @@ include expected/expected.am
|
||||
|
||||
dist_noinst_DATA = \
|
||||
$(EXPECTED_FILES) \
|
||||
expected/test_tailer.sh_12f539e535df04364316699f9edeac461aa9f9de.err \
|
||||
expected/test_tailer.sh_12f539e535df04364316699f9edeac461aa9f9de.out \
|
||||
ansi-colors.0.in \
|
||||
bad-config/formats/invalid-properties/format.json \
|
||||
bad-config/formats/invalid-regex/format.json \
|
||||
|
@ -0,0 +1,3 @@
|
||||
tailer stderr:
|
||||
info: load preview request -- 1234
|
||||
info: exiting...
|
@ -0,0 +1,8 @@
|
||||
preview of file: {test_dir}/remote-log-dir/*
|
||||
{test_dir}/remote-log-dir/logfile_access_log.0
|
||||
{test_dir}/remote-log-dir/logfile_access_log.1
|
||||
|
||||
all done!
|
||||
tailer stderr:
|
||||
info: load preview request -- 1234
|
||||
info: exiting...
|
Loading…
Reference in New Issue
Block a user