[tests] try to fix some broken tests

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

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

@ -1,4 +1,4 @@
total  min(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 2023-04-28 06:53:55.000   syslog_log  New relevant interface # for # 
 2 2023-04-28 06:53:55.000   syslog_log  Joining # multicast group on interface # with address # 
total log_line  log_time duration log_formats  log_msg_format 
 2  2 2023-04-28 06:53:55.000   syslog_log  Registering new address record for # on # 
 2  1 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"
mkdir -p $HOME
touch -t 200711030000 ${srcdir}/logfile_syslog.0
run_cap_test ${lnav_test} -n \
-c ':set-file-timezone America/Los_Angeles' \
${test_dir}/logfile_syslog.0

Loading…
Cancel
Save