mirror of https://github.com/tstack/lnav.git
[tests] try to fix breakage
This commit is contained in:
parent
8a0193691f
commit
7e538c85f9
|
@ -2320,6 +2320,7 @@ int main(int argc, char *argv[])
|
|||
for (auto &ld_file : lnav_data.ld_files) {
|
||||
auto lf = ld_file;
|
||||
|
||||
lf->rebuild_index();
|
||||
lf->rebuild_index();
|
||||
log_format *fmt = lf->get_format();
|
||||
if (fmt == NULL) {
|
||||
|
|
|
@ -12,7 +12,7 @@ EOF
|
|||
|
||||
run_test ${lnav_test} -n \
|
||||
-c "|rename-stdin" \
|
||||
${test_dir}/logfile_access_log.0
|
||||
${test_dir}/logfile_access_log.0 < /dev/null
|
||||
|
||||
check_error_output "rename-stdin works without an argument?" <<EOF
|
||||
../test/.lnav/formats/default/rename-stdin.lnav:6: error: expecting the new name for stdin as the first argument
|
||||
|
|
Loading…
Reference in New Issue