mirror of
https://github.com/tstack/lnav.git
synced 2024-10-26 13:16:11 +03:00
[tests] some more test fixes
This commit is contained in:
parent
c0fc73d4ea
commit
65a4803955
@ -332,7 +332,10 @@ DISTCLEANFILES = \
|
||||
truncfile.0 \
|
||||
logfile_append.0 \
|
||||
test.log \
|
||||
logfile_stdin.log
|
||||
logfile_stdin.log \
|
||||
logfile_syslog.0 \
|
||||
unreadable.log \
|
||||
empty
|
||||
|
||||
distclean-local:
|
||||
$(RM_V)rm -rf sessions
|
||||
|
@ -41,8 +41,9 @@ run_test ./drive_logfile ${srcdir}/logfile_empty.0
|
||||
|
||||
on_error_fail_with "Didn't handle empty log?"
|
||||
|
||||
touch -t 200711030923 ${srcdir}/logfile_syslog.0
|
||||
run_test ./drive_logfile -t -f syslog_log ${srcdir}/logfile_syslog.0
|
||||
cp ${srcdir}/logfile_syslog.0 logfile_syslog.0
|
||||
touch -t 200711030923 logfile_syslog.0
|
||||
run_test ./drive_logfile -t -f syslog_log logfile_syslog.0
|
||||
|
||||
check_output "Syslog timestamp interpreted incorrectly?" <<EOF
|
||||
Nov 03 09:23:38 2007 -- 000
|
||||
|
Loading…
Reference in New Issue
Block a user