# HG changeset patch # User Mads Kiilerich # Date 2012-01-27 01:59:59 # Node ID 10c8110d114b3288cfc610ce4c2879c7ada1a508 # Parent a45516cb8d9f6a1443f13f5885d5590b372b30d8 tests: don't include plain 'diff -U0' content in test-diff-unified.t The only purpose of 'diff -U0' was to show that 'hg diff -U0' did almost the same. Unfortunately 'diff -U0' on Solaris gives incorrect line numbers. Masking it with globs wouldn't it make sense, so removing it is the best solution. diff --git a/tests/test-diff-unified.t b/tests/test-diff-unified.t --- a/tests/test-diff-unified.t +++ b/tests/test-diff-unified.t @@ -107,17 +107,6 @@ 0 lines of context hunk header matches g > c3 > c4 > EOF - $ diff -U0 f1 f2 - --- f1 * (glob) - +++ f2 * (glob) - @@ -0,0 +1 @@ - +c1 - @@ -1,0 +3 @@ - +c3 - @@ -3 +4,0 @@ - -c5 - [1] - $ mv f2 f1 $ hg diff -U0 --nodates diff -r 55d8ff78db23 f1