diff options
Diffstat (limited to 'tests/ls/color-clear-to-eol')
-rwxr-xr-x | tests/ls/color-clear-to-eol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ls/color-clear-to-eol b/tests/ls/color-clear-to-eol index dc41e3565..164b163c7 100755 --- a/tests/ls/color-clear-to-eol +++ b/tests/ls/color-clear-to-eol @@ -20,13 +20,13 @@ print_ver_ ls long_name=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.foo -touch $long_name || framework_failure +touch $long_name || framework_failure_ e='\33' color_code='0;31;42' c_pre="$e[0m$e[${color_code}m" c_post="$e[0m$e[K\n" -printf "$c_pre$long_name$c_post\n" > exp || framework_failure +printf "$c_pre$long_name$c_post\n" > exp || framework_failure_ env TERM=xterm COLUMNS=80 LS_COLORS="*.foo=$color_code" TIME_STYLE=+T \ ls -og --color=always $long_name > out || fail=1 |