summaryrefslogtreecommitdiffstats
path: root/test/test_gantt.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 04:48:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 04:48:35 +0000
commit207df6fc406e81bfeebdff7f404bd242ff3f099f (patch)
treea1a796b056909dd0a04ffec163db9363a8757808 /test/test_gantt.sh
parentReleasing progress-linux version 0.11.2-1~progress7.99u1. (diff)
downloadlnav-207df6fc406e81bfeebdff7f404bd242ff3f099f.tar.xz
lnav-207df6fc406e81bfeebdff7f404bd242ff3f099f.zip
Merging upstream version 0.12.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/test_gantt.sh')
-rw-r--r--test/test_gantt.sh43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/test_gantt.sh b/test/test_gantt.sh
new file mode 100644
index 0000000..b64c130
--- /dev/null
+++ b/test/test_gantt.sh
@@ -0,0 +1,43 @@
+#! /bin/bash
+
+export YES_COLOR=1
+
+export TZ=UTC
+
+run_cap_test ${lnav_test} -n \
+ -c ':switch-to-view gantt' \
+ ${test_dir}/logfile_generic.0
+
+run_cap_test ${lnav_test} -n \
+ -c ':switch-to-view gantt' \
+ ${test_dir}/logfile_bro_http.log.0
+
+run_cap_test ${lnav_test} -n \
+ -c ':switch-to-view gantt' \
+ -c ':filter-in CdysLK1XpcrXOpVDuh' \
+ ${test_dir}/logfile_bro_http.log.0
+
+run_cap_test ${lnav_test} -n \
+ -c ':switch-to-view gantt' \
+ -c ':filter-out CdysLK1XpcrXOpVDuh' \
+ ${test_dir}/logfile_bro_http.log.0
+
+run_cap_test ${lnav_test} -n \
+ -c ':switch-to-view gantt' \
+ -c ':hide-file *' \
+ ${test_dir}/logfile_bro_http.log.0
+
+run_cap_test ${lnav_test} -n \
+ -c ':switch-to-view gantt' \
+ -c ':close *' \
+ ${test_dir}/logfile_bro_http.log.0
+
+run_cap_test ${lnav_test} -n \
+ -c ':switch-to-view gantt' \
+ -c ':hide-lines-before 2011-11-03 00:19:37' \
+ ${test_dir}/logfile_bro_http.log.0
+
+run_cap_test ${lnav_test} -n \
+ -c ':switch-to-view gantt' \
+ -c ':hide-lines-after 2011-11-03 00:20:30' \
+ ${test_dir}/logfile_bro_http.log.0