summaryrefslogtreecommitdiff
blob: 83380fae4d8c64d32ed0d29f1ff487860cc5be78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.