From 7f1c37a6a76ba73284ebbc0f6bbcbac8e5bdbaa6 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Wed, 13 Mar 2019 14:15:43 +0100 Subject: [PATCH] tests: fix shift_in_out.sh tests to output ascii in [0x20, 0x7f[ --- tests/shift_in_out.sh | 16 ++++++++-------- tests/tests.results | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/shift_in_out.sh b/tests/shift_in_out.sh index 4bc004d1..edd86c3b 100755 --- a/tests/shift_in_out.sh +++ b/tests/shift_in_out.sh @@ -14,15 +14,15 @@ printf '\033[46;31;3m' ## printf '\017' for C in $(seq 32 64); do - printf "\u$C" + printf "\x$(printf '%x' $C)" done printf '\n' for C in $(seq 64 96); do - printf "\u$C" + printf "\x$(printf '%x' $C)" done printf '\n' -for C in $(seq 96 128); do - printf "\u$C" +for C in $(seq 96 127); do + printf "\x$(printf '%x' $C)" done printf '\n' @@ -32,14 +32,14 @@ printf '\n' printf '\n' printf '\016' for C in $(seq 32 64); do - printf "\u$C" + printf "\x$(printf '%x' $C)" done printf '\n' for C in $(seq 64 96); do - printf "\u$C" + printf "\x$(printf '%x' $C)" done printf '\n' -for C in $(seq 96 128); do - printf "\u$C" +for C in $(seq 96 127); do + printf "\x$(printf '%x' $C)" done printf '\n' diff --git a/tests/tests.results b/tests/tests.results index 978e26c1..123fed3f 100644 --- a/tests/tests.results +++ b/tests/tests.results @@ -118,4 +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 +shift_in_out.sh 3896bcc6887998bbc41b43840a6b2e33