Bug 19335: Fix 00-merge-conflict-markers.t when dockerised
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 18 Sep 2017 17:23:54 +0000 (14:23 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Sep 2017 12:00:49 +0000 (09:00 -0300)
commit0d03f143e25f498de780d2ddd1972c3be7947519
tree69a7d6d953c1bf03f35b5fec98eb9807390714a4
parent5bb19808bb23a01a257a0970bd7e2ae43fb5b3d6
Bug 19335: Fix 00-merge-conflict-markers.t when dockerised

This does not make sense, but fix a bug (why?)
Without this patch, the tests failed on po files:

[17:14:26] t/00-merge-conflict-markers.t .. Failed 1/1 subtests
Test Summary Report
-------------------
t/00-merge-conflict-markers.t (Wstat: 9 Tests: 0 Failed: 0)
  Non-zero wait status: 9
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Result: FAIL

Note that this is not related to bug 19227.

if the ^>>>>>> and ^<<<<<< matches are done on the same line, the test fail
As saw it failed on *-pref.po files
  misc/translator/po/kn-Knda-pref.po
  misc/translator/po/ja-Jpan-JP-pref.po
  misc/translator/po/nl-BE-pref.po
  misc/translator/po/sr-Cyrl-pref.po

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/00-merge-conflict-markers.t