From 7e1ea5290d0f246546250800621e09910778ba7d Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Tue, 19 Jul 2016 00:16:49 +0200 Subject: [PATCH] Update tests --- test/run_dmenu_custom_test.sh | 2 +- test/run_dmenu_issue_292.sh | 2 +- test/run_dmenu_normal_window_test.sh | 2 +- test/run_dmenu_test.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/run_dmenu_custom_test.sh b/test/run_dmenu_custom_test.sh index 56c5042b..6f66f12b 100755 --- a/test/run_dmenu_custom_test.sh +++ b/test/run_dmenu_custom_test.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -echo -e -n "aap\nnoot\nmies" | rofi -width -30 -dmenu > output.txt & +echo -e -n "aap\nnoot\nmies" | rofi -width -30 -dmenu -multi-select > output.txt & RPID=$! # send enter. diff --git a/test/run_dmenu_issue_292.sh b/test/run_dmenu_issue_292.sh index 61c0da15..c9b671bb 100755 --- a/test/run_dmenu_issue_292.sh +++ b/test/run_dmenu_issue_292.sh @@ -2,7 +2,7 @@ # wait till it is up, run rofi with error message sleep 1; -echo {0..100} | tr " " "\n" | rofi -dmenu > output.txt & +echo {0..100} | tr " " "\n" | rofi -dmenu -multi-select > output.txt & RPID=$! # send enter. diff --git a/test/run_dmenu_normal_window_test.sh b/test/run_dmenu_normal_window_test.sh index b81b5fcc..b9f542bf 100755 --- a/test/run_dmenu_normal_window_test.sh +++ b/test/run_dmenu_normal_window_test.sh @@ -2,7 +2,7 @@ # wait till it is up, run rofi with error message sleep 1; -echo -e -n "aap\nnoot\nmies" | rofi -dmenu -normal-window > output.txt & +echo -e -n "aap\nnoot\nmies" | rofi -dmenu -normal-window -multi-select > output.txt & RPID=$! sleep 4 xdotool getactivewindow windowsize 100% 100% diff --git a/test/run_dmenu_test.sh b/test/run_dmenu_test.sh index 0d70d700..00694086 100755 --- a/test/run_dmenu_test.sh +++ b/test/run_dmenu_test.sh @@ -2,7 +2,7 @@ # wait till it is up, run rofi with error message sleep 1; -echo -e -n "aap\nnoot\nmies" | rofi -dmenu > output.txt & +echo -e -n "aap\nnoot\nmies" | rofi -dmenu -multi-select > output.txt & RPID=$! # send enter.