summaryrefslogtreecommitdiff
blob: 58aa7264a0de44949fa43c3cb4dcb20584d0ee92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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>
---
 test/test_sql.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/test_sql.sh b/test/test_sql.sh
index bbb98dce..22941c2a 100644
--- 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.
-- 
2.31.1