[SSSD] [PATCH] TESTS: Make whitespace_test pass without whitespace

Lukas Slebodnik lslebodn at redhat.com
Mon Oct 5 13:38:33 UTC 2015


On (05/10/15 15:59), Nikolai Kondrashov wrote:
>Hi everyone,
>
>The attached patch fixes the issue of whitespace_test failing when no trailing
>whitespace was detected at all.
>
I do not understand the explanation.
Trailing whitespaces are not detected with unchaged file po/ca.po either.



make -C po update-po
changed the file "po/ca.po" and it should be ignored.
   $ make -C po update-po
   //snip
   $git status
   On branch python
   Changes not staged for commit:
     (use "git add <file>..." to update what will be committed)
     (use "git checkout -- <file>..." to discard changes in working directory)

           modified:   po/ca.po

   no changes added to commit (use "git add" and/or "git commit -a")
   $ make check || echo FAILED
   //snip
   FAILED
If I revert changes in po/ca.po (done by make -C po update-po)
then whitespace test passes
   $ git checkout -f po/
   $ make check && echo OK
   //snip
   OK


LS


More information about the sssd-devel mailing list