tests: avoid spurious failure of root-only ls/capability test
authorJim Meyering <meyering@redhat.com>
Wed, 14 Apr 2010 13:48:31 +0000 (15:48 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 14 Apr 2010 13:48:31 +0000 (15:48 +0200)
* tests/ls/capability: Adjust this test not to expect the no-op escape
sequence that was removed from all other tests by 2010-01-30 commit
5d43617e, "ls --color: don't emit a final no-op escape sequence".

tests/ls/capability

index df91aa5..3997c73 100755 (executable)
@@ -59,7 +59,7 @@ for ex in '' ex=:; do
 dir:
 \e[${code}mcap_neg\e[0m
 cap_pos
-\e[m" > out_ok || framework_failure
+" > out_ok || framework_failure
 
   compare out out_ok || fail=1
 done