Read about our upcoming Code of Conduct on this issue

Commit 559663bc authored by Thomas Klausner's avatar Thomas Klausner
Browse files

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

Differential Revision:

branch : stable
parent d3222525bc8e
Pipeline #29054 passed with stages
in 55 minutes and 59 seconds
......@@ -988,9 +988,10 @@ truncate the file
$ 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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment