Commits on Source (10)
-
Anton Shestakov authored
Some implementations don't have this operand, let's just direct stderr into /dev/null, that's pretty cross-platform. Also specify bs=512 (the default for me), because the default might be different on different systems. Other uses of dd in the tests do specify it, so this is more consistent.
c7edfccfc11f -
Anton Shestakov authored
This was previously only used in test-revlog-delta-find.t, but it will be useful (and used) in other tests that might need to generate poorly-compressible files.
fa4c4fa232d6 -
Anton Shestakov authored
Sometimes the systems that run our test suite don't have enough entropy and they cannot produce target file of the expected size using /dev/random, which results in test failures. Switching to /dev/urandom would give us way more available data at the cost of it being less "random", but we don't really need to use entropy for this task at all, since we only care if the file size after compression is big enough to not be stored inline in the revlog. So let's use something that we already have used to generate this kind of data in other tests.
e7be2ddfb4c2 -
Arun Kulshreshtha authoredd626e5e7bbbe
-
Jordi Gutiérrez Hermoso authored
The refactor in 4a73df6eb67d accidentally forgot to transform the opts argument for walkopts into a byteskwargs. This resulted in its options being ignored. In particular, the -X/-I pair of options was missing. A simple fix restores its usage. Tests included, of course.
c6560ee526d2 -
Arseniy Alekseyev authored
It turns out (not too shockingly!) the kernel sometimes has some work to do, perhaps at the very least context-switching, so asserting the system time is 0.000000 doesn't work.
ded1bad5653d -
Raphaël Gomès authored3fd1efb3ad12
-
Raphaël Gomès authored4e960838f470
-
Raphaël Gomès authored5f62d45e5289
-
Raphaël Gomès authored508fd40dc86a
Showing
- .hgsigs 1 addition, 0 deletions.hgsigs
- .hgtags 1 addition, 0 deletions.hgtags
- mercurial/commands.py 1 addition, 1 deletionmercurial/commands.py
- relnotes/6.6 10 additions, 1 deletionrelnotes/6.6
- rust/hg-core/src/revlog/changelog.rs 19 additions, 4 deletionsrust/hg-core/src/revlog/changelog.rs
- tests/sha256line.py 14 additions, 0 deletionstests/sha256line.py
- tests/test-censor.t 1 addition, 1 deletiontests/test-censor.t
- tests/test-grep.t 17 additions, 0 deletionstests/test-grep.t
- tests/test-revlog-delta-find.t 3 additions, 10 deletionstests/test-revlog-delta-find.t
tests/sha256line.py
0 → 100755