# HG changeset patch
# User Raphaël Gomès <rgomes@octobus.net>
# Date 1635167513 -7200
#      Mon Oct 25 15:11:53 2021 +0200
# Node ID ad5a644738400f8b87c788fa8b96f68c7a80405c
# Parent  4c61c7f75de6c1d25d04a624b57d7260b5ddedb0
tests: add missing `head` for when things go wrong

See comment above the changed line, you can get a millions of line of output in
case of failure. When don't need to have them all.

Differential Revision: https://phab.mercurial-scm.org/D11780

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