changeset 48435:18032c282a7e stable

upgrade: don't use `dd status=none` in the test This breaks on Windows, so lets use `>2 /dev/null` like in the other tests. Differential Revision: https://phab.mercurial-scm.org/D11873
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 07 Dec 2021 10:03:00 +0100
parents d4c084160434
children 25c352b58b4e
files tests/test-upgrade-repo.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-upgrade-repo.t	Mon Dec 06 10:23:51 2021 +0100
+++ b/tests/test-upgrade-repo.t	Tue Dec 07 10:03:00 2021 +0100
@@ -1667,7 +1667,7 @@
   $ hg debugformat -v | grep dirstate-v2
   dirstate-v2:        yes     no      no
   $ hg status
-  $ dd status=none bs=12 count=1 if=.hg/dirstate
+  $ dd bs=12 count=1 if=.hg/dirstate 2> /dev/null
   dirstate-v2
 
 Downgrade from dirstate-v2