You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/lnav/files/lnav-0.9.0-bug713600_1.patch

24 lines
914 B

From cc072d29ead6f1df896bc61b83d7d41dab0b7132 Mon Sep 17 00:00:00 2001
From: Timothy Stack <timothyshanestack@gmail.com>
Date: Thu, 31 Dec 2020 23:26:57 -0800
Subject: [PATCH] [tests] update another date-sensitive test
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
--- a/test/test_sql.sh
+++ b/test/test_sql.sh
@@ -1023,11 +1023,11 @@ EOF
cat ${test_dir}/logfile_syslog.0 | run_test ${lnav_test} -n \
- -c ";select log_time from syslog_log where log_procname = 'sudo'"
+ -c ";select log_body from syslog_log where log_procname = 'sudo'"
check_output "single result is not working?" <<EOF
- log_time
-2020-11-03 09:47:02.000
+ log_body
+ timstack : TTY=pts/6 ; PWD=/auto/wstimstack/rpms/lbuild/test ; USER=root ; COMMAND=/usr/bin/tail /var/log/messages
EOF
# Create a dummy database for the next couple of tests to consume.