diff options
author | John Hood <cgull@glup.org> | 2017-02-28 11:39:25 -0500 |
---|---|---|
committer | John Hood <cgull@glup.org> | 2017-03-01 23:16:26 -0500 |
commit | 1cad191b102b203e605e1d8471d054770b5176d6 (patch) | |
tree | 73e59b887593abc56360268530de92282ed6d522 | |
parent | 936ee83d29171e408f40b174450fd0a11d8b227b (diff) |
emulation-attributes.test: fix vt100 test failure
The failure only occurs in a Debian Sid schroot environment.
-rwxr-xr-x | src/tests/emulation-attributes.test | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tests/emulation-attributes.test b/src/tests/emulation-attributes.test index fe06ea4..bf8c093 100755 --- a/src/tests/emulation-attributes.test +++ b/src/tests/emulation-attributes.test @@ -40,14 +40,12 @@ baseline() for attr in 0 1 4 5 7; do printf '\033[%dmE\033[m ' $attr done - printf '\n' ;; # 16-color attributes. 16color) for attr in $(seq 30 37) $(seq 39 47) 49; do printf '\033[%dmE\033[m ' "$attr" done - printf '\n' ;; # First 8 256-color attributes. Comparing mosh and tmux fails. 256color8) @@ -55,7 +53,6 @@ baseline() printf '\033[38;5;%dmE\033[m ' "$attr" printf '\033[48;5;%dmM\033[m ' "$attr" done - printf '\n' ;; # Last 248 256-color attributes. 256color248) @@ -63,12 +60,13 @@ baseline() printf '\033[38;5;%dmE\033[m ' "$attr" printf '\033[48;5;%dmM\033[m ' "$attr" done - printf '\n' ;; *) fail "unknown test name %s\n" "$1" ;; esac + + printf '\033[mend\n' } case $1 in |