diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:44:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:44:55 +0000 |
commit | 5068d34c08f951a7ea6257d305a1627b09a95817 (patch) | |
tree | 08213e2be853396a3b07ce15dbe222644dcd9a89 /test/test_tui.sh | |
parent | Initial commit. (diff) | |
download | lnav-5068d34c08f951a7ea6257d305a1627b09a95817.tar.xz lnav-5068d34c08f951a7ea6257d305a1627b09a95817.zip |
Adding upstream version 0.11.1.upstream/0.11.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | test/test_tui.sh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/test_tui.sh b/test/test_tui.sh new file mode 100644 index 0000000..3b6f4e9 --- /dev/null +++ b/test/test_tui.sh @@ -0,0 +1,28 @@ +#! /bin/bash + +# Unsets the following so it does not show up in the term title +unset SSH_CONNECTION + +lnav_test="${top_builddir}/src/lnav-test" +export lnav_test + +for fn in ${srcdir}/tui-captures/*; do + base_fn=`basename $fn` + run_test ./scripty -n -e $fn -- ${lnav_test} -H < /dev/null + + case "$base_fn" in + tui_echo.0) + on_error_log "Skipping $fn" + ;; + *) + on_error_log "TUI test ${fn} does not work?" + ;; + esac +done + +run_test ./scripty -n -e ${srcdir}/xpath_tui.0 -- \ + ${lnav_test} -I ${test_dir} \ + -c ':goto 2' \ + ${srcdir}/logfile_xml_msg.0 + +on_error_log "xpath() fields are not working?" |