Patchwork D11780: tests: add missing `head` for when things go wrong

login
register
mail settings
Submitter phabricator
Date Nov. 24, 2021, 11:11 a.m.
Message ID <differential-rev-PHID-DREV-ips2zdta3bwxrxp7ygq7-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50106/
State New
Headers show

Comments

phabricator - Nov. 24, 2021, 11:11 a.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  See comment above the changed line

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D11780

AFFECTED FILES
  tests/test-lfs-largefiles.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-lfs-largefiles.t b/tests/test-lfs-largefiles.t
--- a/tests/test-lfs-largefiles.t
+++ b/tests/test-lfs-largefiles.t
@@ -345,7 +345,7 @@ 
 breaks you can get 1048576 lines of +y in the output, which takes a looooooong
 time to print.
   $ hg diff -r 2:3 | head -n 20
-  $ hg diff -r 2:6
+  $ hg diff -r 2:6 | head -n 20
   diff -r e989d0fa3764 -r 752e3a0d8488 large.bin
   --- a/large.bin	Thu Jan 01 00:00:00 1970 +0000
   +++ b/large.bin	Thu Jan 01 00:00:00 1970 +0000