emulation-attributes.test: fix vt100 test failure
The failure only occurs in a Debian Sid schroot environment.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user