tests: factor 350 fail=0 initializations into test-lib.sh
[platform/upstream/coreutils.git] / tests / ls / color-clear-to-eol
index fd65ced..aa8cf4e 100755 (executable)
@@ -32,7 +32,6 @@ c_pre="$e[0m$e[${color_code}m"
 c_post="$e[0m$e[K\n$e[m"
 printf "$c_pre$long_name$c_post\n" > exp || framework_failure
 
-fail=0
 env TERM=xterm COLUMNS=80 LS_COLORS="*.foo=$color_code" TIME_STYLE=+T \
   ls -og --color=always $long_name > out || fail=1