diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:46:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:46:01 +0000 |
commit | f99ae3f90a40cab5ac45a299e82a8987b7264eab (patch) | |
tree | 46554594be2eb10da0f510e9135526d680637f6f /debian/tests/t/unicode-output.t | |
parent | Adding upstream version 4.8.0. (diff) | |
download | screen-f99ae3f90a40cab5ac45a299e82a8987b7264eab.tar.xz screen-f99ae3f90a40cab5ac45a299e82a8987b7264eab.zip |
Adding debian version 4.8.0-6.debian/4.8.0-6debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/tests/t/unicode-output.t | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/tests/t/unicode-output.t b/debian/tests/t/unicode-output.t new file mode 100644 index 0000000..e7d56e9 --- /dev/null +++ b/debian/tests/t/unicode-output.t @@ -0,0 +1,23 @@ +#!/bin/sh + +echo 1..$(ls -1 $(dirname $0)/*.txt | wc -l) + +. `dirname $0`/boilerplate.sh + +LC_ALL=C.UTF-8 +export LC_ALL +TERM=xterm +export TERM + +for file in $(ls -1 $(dirname $0)/*.txt) ; do + echo === BEGIN $file === + cat $file + echo === END $file === + echo "=== BEGIN $file (escaped) ===" + cat -v $file + echo "=== END $file (escaped) ===" + script -c "$SCREEN cat $file" ${file}.output | cat -v + fgrep -F -f $file -q ${file}.output + check_exit_code_true Found contents of $file in ${file}.output + rm -f ${file}.output +done |