tests: dd status=noxfer is not portable (
issue6523)
Differential Revision: https://phab.mercurial-scm.org/D11754
--- a/tests/test-persistent-nodemap.t Mon Nov 15 00:15:21 2021 +0100
+++ b/tests/test-persistent-nodemap.t Mon Nov 15 12:03:28 2021 +0100
@@ -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 * (glob)
$ mv $datafilepath-tmp $datafilepath
$ f -s $datafilepath
corruption-test-repo/.hg/store/00changelog-*.nd: size=10000 (glob)