Mercurial > hg
comparison tests/test-lfs-largefiles.t @ 48376:ad5a64473840
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
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 25 Oct 2021 15:11:53 +0200 |
parents | f35529784079 |
children | 5e6542143d40 |
comparison
equal
deleted
inserted
replaced
48375:4c61c7f75de6 | 48376:ad5a64473840 |
---|---|
343 | 343 |
344 This `head -n 20` looks dumb (since we expect no output), but if something | 344 This `head -n 20` looks dumb (since we expect no output), but if something |
345 breaks you can get 1048576 lines of +y in the output, which takes a looooooong | 345 breaks you can get 1048576 lines of +y in the output, which takes a looooooong |
346 time to print. | 346 time to print. |
347 $ hg diff -r 2:3 | head -n 20 | 347 $ hg diff -r 2:3 | head -n 20 |
348 $ hg diff -r 2:6 | 348 $ hg diff -r 2:6 | head -n 20 |
349 diff -r e989d0fa3764 -r 752e3a0d8488 large.bin | 349 diff -r e989d0fa3764 -r 752e3a0d8488 large.bin |
350 --- a/large.bin Thu Jan 01 00:00:00 1970 +0000 | 350 --- a/large.bin Thu Jan 01 00:00:00 1970 +0000 |
351 +++ b/large.bin Thu Jan 01 00:00:00 1970 +0000 | 351 +++ b/large.bin Thu Jan 01 00:00:00 1970 +0000 |
352 @@ -1,1 +1,1 @@ | 352 @@ -1,1 +1,1 @@ |
353 -below lfs threshold | 353 -below lfs threshold |