mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
28.20.2013 e596637fb0243ee191290b509c1f1251dc805e43
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Thursday, February 28, 2013 17:20 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Thursday, February 28, 2013 17:20 +0100
commite596637fb0243ee191290b509c1f1251dc805e43
tree 11312321146672a89537774e8201caf33971107b tree | zip | gz
parent 6374a4461932f60e9e3ddfd865c826889ea20a7b view | diff
OPENDJ-778 (CR-1341) ldif-diff should exit with different values w.r.t files are identical or not

LDIFFDiff.java:
In mainDiff(), added new arguments "-r, --useCompareResultCode" to ldiff-diff + unified the return pathes for when differences might be found, removing some duplication.

LDIFDiffTestCase.java:
Added more asserts for the "--useCompareResultCode" case within the existing tests.
2 files modified
203 ■■■■ changed files
opends/src/server/org/opends/server/tools/LDIFDiff.java 54 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDIFDiffTestCase.java 149 ●●●● diff | view | raw | blame | history