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

mail6543210 at yahoo.com.tw mail6543210 at yahoo.com.tw
Thu Jun 16 07:37:20 EDT 2016


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.

Second patch:

Fix typos in testing data. This bug causes two variable undefined.
Since "result" MATCHES "${expected_but_undefined_variable}" returns true,
this bug has no effect.

BR,
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160616/b2b9b9dc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Enable-building-on-SELinux-enabled-system.patch
Type: text/x-patch
Size: 1682 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160616/b2b9b9dc/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: 1339 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160616/b2b9b9dc/attachment-0001.bin>


More information about the cmake-developers mailing list