Subject: bug#8508: 8 test failures on Fedora 15

From: Jim Meyering <[email-masked]>
Date: Sat, 16 Apr 2011 12:52:32 +0200

Hi Stefano,

Thanks for the speedy reply.

Stefano Lattarini wrote:
...
> The patch is fine IMHO, I'll apply it in your name ASAP (adding a
> reference to this bug report).  Thanks.

Thanks.

...
>> FAIL: self-check-cleanup.test (exit: 1)
>> =======================================
>>
>> ... [CUT] ...
>>
>> + ls -l
>> total 84
>> -rw-------. 1 meyering meyering    82 Apr 16 11:42 configure.in
>>
> Why this trailing dot in the permission string?

That changed in coreutils two years ago, from NEWS:
* Noteworthy changes in release 7.1 (2009-02-21) [stable]
  ...
  ls -l now marks SELinux-only files with the less obtrusive '.',
  rather than '+'.  A file with any other combination of MAC and ACL
  is still marked with a '+'.

>> -rw-------. 1 meyering meyering 18583 Apr 16 11:42 defs
>> -rw-------. 1 meyering meyering  5972 Apr 16 11:42 defs-static
>> -rwx------. 1 meyering meyering 20330 Apr 16 11:42 depcomp
>> d---------. 2 meyering meyering  4096 Apr 16 11:42 dir
>> ----------. 1 meyering meyering     0 Apr 16 11:42 file
>> lrwxrwxrwx. 1 meyering meyering     4 Apr 16 11:42 foo -> defs
>> -rwx------. 1 meyering meyering 13998 Apr 16 11:42 install-sh
>> -rwx------. 1 meyering meyering 11419 Apr 16 11:42 missing
>> + grep '^---------- .*file'
>>
> OK, spurious failure caused by the trailing dot in the permission
> string.  I'll fix it by relaxing the regexp.