Patchwork D11754: tests: dd status=noxfer is not portable (issue6523)

login
register
mail settings
Submitter phabricator
Date Nov. 14, 2021, 11:13 p.m.
Message ID <differential-rev-PHID-DREV-ra2rijwn7n5xi2ip7bbg-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50079/
State Superseded
Headers show

Comments

phabricator - Nov. 14, 2021, 11:13 p.m.
wiz created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-persistent-nodemap.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-persistent-nodemap.t b/tests/test-persistent-nodemap.t
--- a/tests/test-persistent-nodemap.t
+++ b/tests/test-persistent-nodemap.t
@@ -988,9 +988,10 @@ 
   $ datafilepath=`ls corruption-test-repo/.hg/store/00changelog*.nd`
   $ f -s $datafilepath
   corruption-test-repo/.hg/store/00changelog-*.nd: size=121088 (glob)
-  $ dd if=$datafilepath bs=1000 count=10 of=$datafilepath-tmp status=noxfer
+  $ dd if=$datafilepath bs=1000 count=10 of=$datafilepath-tmp
   10+0 records in
   10+0 records out
+  * bytes transferred in * (glob)
   $ mv $datafilepath-tmp $datafilepath
   $ f -s $datafilepath
   corruption-test-repo/.hg/store/00changelog-*.nd: size=10000 (glob)