From 2d62d58a39197392bd5e7ac762ec7b44af0514e0 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Wed, 13 Mar 2019 13:30:18 +0100 Subject: [PATCH] tests: add dumb test on Shift In/Out --- tests/shift_in_out.sh | 45 +++++++++++++++++++++++++++++++++++++++++++ tests/tests.results | 1 + 2 files changed, 46 insertions(+) create mode 100755 tests/shift_in_out.sh diff --git a/tests/shift_in_out.sh b/tests/shift_in_out.sh new file mode 100755 index 00000000..4bc004d1 --- /dev/null +++ b/tests/shift_in_out.sh @@ -0,0 +1,45 @@ +#!/bin/sh + +# fill space with E +printf '\033#8' + +# move to 0; 0 +printf '\033[H' + +#set color +printf '\033[46;31;3m' + +## +# Shift In +## +printf '\017' +for C in $(seq 32 64); do + printf "\u$C" +done +printf '\n' +for C in $(seq 64 96); do + printf "\u$C" +done +printf '\n' +for C in $(seq 96 128); do + printf "\u$C" +done +printf '\n' + +## +# Shift Out +## +printf '\n' +printf '\016' +for C in $(seq 32 64); do + printf "\u$C" +done +printf '\n' +for C in $(seq 64 96); do + printf "\u$C" +done +printf '\n' +for C in $(seq 96 128); do + printf "\u$C" +done +printf '\n' diff --git a/tests/tests.results b/tests/tests.results index ea12ff79..978e26c1 100644 --- a/tests/tests.results +++ b/tests/tests.results @@ -118,3 +118,4 @@ mouse_reporting_mode_x10_ext_urxvt.sh bf1a407f13151bb2d90d7efce49d6ba6 mouse_reporting_mode_normal_ext_urxvt.sh bf68099047410f102e71d2e451875c69 mouse_reporting_mode_mouse_move_pressed_ext_urxvt.sh 59f3e59b60b3a43260de6a80135489eb mouse_reporting_mode_all_ext_urxvt.sh a11bbc8ebea42d06cc3ad823b52c09b3 +shift_in_out.sh f60edd38d37a38e41b4c0db6dc551b7d