[tests] try to fix breakage

This commit is contained in:
Timothy Stack 2020-04-25 13:30:28 -07:00
parent 8a0193691f
commit 7e538c85f9
2 changed files with 2 additions and 1 deletions

View File

@ -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) {

View File

@ -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