SIGN IN SIGN UP
2021-02-02 21:58:42 -08:00
#! /bin/bash
2021-02-02 22:12:06 -08:00
# Unsets the following so it does not show up in the term title
unset SSH_CONNECTION
2024-11-12 22:00:07 -08:00
unset XDG_CONFIG_HOME
2021-02-02 22:12:06 -08:00
2021-02-02 21:58:42 -08:00
lnav_test="${top_builddir}/src/lnav-test"
export lnav_test
2021-02-02 21:58:42 -08:00
2024-11-12 22:00:07 -08:00
export HOME="./tui-home"
rm -rf ./tui-home
mkdir -p $HOME
${lnav_test} -nN -c ':config /ui/theme monocai'
2021-02-04 23:10:44 -08:00
for fn in ${srcdir}/tui-captures/*; do
2021-02-05 16:04:34 -08:00
base_fn=`basename $fn`
run_test ./scripty -nX -e $fn -- ${lnav_test} -d /tmp/tui.err -N < /dev/null
2021-02-02 21:58:42 -08:00
2021-02-05 16:04:34 -08:00
case "$base_fn" in
tui_echo.0)
on_error_log "Skipping $fn"
;;
*)
2021-03-19 21:35:53 -07:00
on_error_log "TUI test ${fn} does not work?"
2021-02-05 16:04:34 -08:00
;;
esac
2021-02-04 23:10:44 -08:00
done
2024-11-12 22:00:07 -08:00
run_test ./scripty -nX -e ${srcdir}/xpath_tui.0 -- \
${lnav_test} -I ${test_dir} \
-c ':goto 2' \
${srcdir}/logfile_xml_msg.0
2021-03-19 21:35:53 -07:00
on_error_log "xpath() fields are not working?"