aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-03-13 14:15:43 +0100
committerBoris Faure <billiob@gmail.com>2019-03-13 14:15:43 +0100
commit7f1c37a6a76ba73284ebbc0f6bbcbac8e5bdbaa6 (patch)
tree0dbbf5c58bf26737090be6324b163e32b3916623
parenttests: add dumb test on Shift In/Out (diff)
downloadterminology-master.tar.gz
tests: fix shift_in_out.sh tests to output ascii in [0x20, 0x7f[HEADmaster
-rwxr-xr-xtests/shift_in_out.sh16
-rw-r--r--tests/tests.results2
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/shift_in_out.sh b/tests/shift_in_out.sh
index 4bc004d..edd86c3 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 978e26c..123fed3 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