diff options
author | Dave Davenport <qball@gmpclient.org> | 2021-05-04 20:08:54 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2021-05-04 20:44:38 +0200 |
commit | 37044dc27e19c97510fdc7eb48f33d834439aba3 (patch) | |
tree | 3e4469ef4645c6278c0699977aaf1ef26807e007 /test | |
parent | 2516173a3d336fe70d01d93c7bcd1a5315bca535 (diff) |
Remove -dump-xresources option update manpage.
Diffstat (limited to 'test')
-rwxr-xr-x | test/run_all_tests.sh | 2 | ||||
-rwxr-xr-x | test/run_dmenu_custom_test.sh | 38 | ||||
-rwxr-xr-x | test/xr_dump_test.sh | 15 |
3 files changed, 0 insertions, 55 deletions
diff --git a/test/run_all_tests.sh b/test/run_all_tests.sh index 8d619ab0..f5376f22 100755 --- a/test/run_all_tests.sh +++ b/test/run_all_tests.sh @@ -4,7 +4,6 @@ tests=( run_errormsg_test run_switchdialog_test run_dmenu_test - run_dmenu_custom_test run_run_test run_script_test run_script_meta_test @@ -13,7 +12,6 @@ tests=( run_dmenu_empty run_dmenu_issue_292 run_screenshot_test - xr_dump_test run_combi_test run_regex_test run_glob_test diff --git a/test/run_dmenu_custom_test.sh b/test/run_dmenu_custom_test.sh deleted file mode 100755 index fd36de3a..00000000 --- a/test/run_dmenu_custom_test.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env bash - -echo -e -n "aap\nnoot\nmies" | rofi -width -30 -dmenu -multi-select > output.txt & -RPID=$! - -# send enter. -sleep 5; -xdotool key 'c' -sleep 0.2 -xdotool key 'o' -sleep 0.2 -xdotool key 'f' -sleep 0.2 -xdotool key 'f' -sleep 0.2 -xdotool key 'e' -sleep 0.2 -xdotool key 'e' -sleep 0.2 -xdotool key Return - - -# Get result, kill xvfb -wait ${RPID} -RETV=$? -OUTPUT=$( tr '\n' ' ' < output.txt ) -if [ "${OUTPUT}" != 'coffee ' ] -then - exit 1 -fi - -OUTPUT=$(rofi -dump-xresources) -if [ -z "${OUTPUT}" ] -then - exit 1 -fi - -exit ${RETV} diff --git a/test/xr_dump_test.sh b/test/xr_dump_test.sh deleted file mode 100755 index 1c4f6caa..00000000 --- a/test/xr_dump_test.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -TOP_DIR=$1 - -xrdb -retain -load ${TOP_DIR}/doc/test_xr.txt -rofi -config ${TOP_DIR}/doc/test_xr.txt -dump-xresources | grep -v "rofi.display-" | grep -v "The display name of this browser" > temp.txt - -if ! diff temp.txt ${TOP_DIR}/doc/test_xr.txt > /dev/null -then - echo "Dump xresources does not match." - diff temp.txt ${TOP_DIR}/doc/test_xr.txt - exit 1; -fi - -exit ${RETV} |