[tests] try to fix some broken tests

pull/1235/head
Tim Stack 5 months ago
parent d8a75fc264
commit 41acf21f0a

@ -192,7 +192,7 @@ SELECT count(*) AS total,
FROM all_logs FROM all_logs
GROUP BY log_msg_format GROUP BY log_msg_format
HAVING total > 1 HAVING total > 1
ORDER BY total DESC ORDER BY total, log_line DESC
)"; )";
std::string retval; std::string retval;

@ -1,4 +1,4 @@
total  min(log_time) duration log_formats  log_msg_format  total log_line  log_time duration log_formats  log_msg_format 
 2 2023-04-28 06:53:55.000   syslog_log  Registering new address record for # on #   2  2 2023-04-28 06:53:55.000   syslog_log  Registering new address record for # on # 
 2 2023-04-28 06:53:55.000   syslog_log  New relevant interface # for #   2  1 2023-04-28 06:53:55.000   syslog_log  Joining # multicast group on interface # with address #
 2 2023-04-28 06:53:55.000   syslog_log  Joining # multicast group on interface # with address #   2  0 2023-04-28 06:53:55.000   syslog_log  New relevant interface # for #  

@ -715,6 +715,8 @@ export HOME="./file-tz"
rm -rf "./file-tz" rm -rf "./file-tz"
mkdir -p $HOME mkdir -p $HOME
touch -t 200711030000 ${srcdir}/logfile_syslog.0
run_cap_test ${lnav_test} -n \ run_cap_test ${lnav_test} -n \
-c ':set-file-timezone America/Los_Angeles' \ -c ':set-file-timezone America/Los_Angeles' \
${test_dir}/logfile_syslog.0 ${test_dir}/logfile_syslog.0

Loading…
Cancel
Save