[cmake-developers] [Patch] Two trivial patches fixing type in CPack/DEB testcase

mail6543210 at yahoo.com.tw mail6543210 at yahoo.com.tw
Sat Jun 18 05:34:04 EDT 2016


My bad. It's exactly a dot when that file is within an SELinux context.

I forgot the backslash.

Here're the refreshed patches.

BR,
Patrick

2016-06-16 20:45 GMT+08:00 Rolf Eike Beer <eike at sf-mail.de>:

> Am 2016-06-16 13:37, schrieb mail6543210--- via cmake-developers:
>
>> Hi there,
>>
>> Here're two trivial patches for testing of CPack/DEB.
>>
>> One is for building cmake on SELinux-enabled system, and other is for a
>> typo in the same file form the former one.
>>
>> These patches is based on commit 83ae7944
>>
>> First patch:
>>
>> When building cmake on an SELinux-enabled system, there will be an extra
>> dot at the end of permission field of `ls -l` like this:
>> -rwxrwxrwx.
>>           ^ this dot
>> This makes the testing RunCMake.CPack_DEB fail.
>>
>> This patch add an optional dot in the regex to fix it.
>>
>
> If it is exactly a dot and not "some random character", than you need to
> escape that in the regular expression as dot is the wildcard character
> there.
>
> Greetings,
>
> Eike
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160618/66177ba0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Enable-building-on-SELinux-enabled-system.patch
Type: text/x-patch
Size: 1688 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160618/66177ba0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-typos-of-testing-data-in-CPack-DEB.patch
Type: text/x-patch
Size: 1346 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160618/66177ba0/attachment-0001.bin>


More information about the cmake-developers mailing list