Mercurial > hg
comparison tests/test-persistent-nodemap.t @ 48326:141e38ef8d8f stable
tests: dd status=noxfer is not portable (issue6523)
Differential Revision: https://phab.mercurial-scm.org/D11754
author | Thomas Klausner <wiz@gatalith.at> |
---|---|
date | Mon, 15 Nov 2021 12:03:28 +0100 |
parents | bf11ff22a9af |
children | f447b90a4b11 |
comparison
equal
deleted
inserted
replaced
48325:d3222525bc8e | 48326:141e38ef8d8f |
---|---|
986 truncate the file | 986 truncate the file |
987 | 987 |
988 $ datafilepath=`ls corruption-test-repo/.hg/store/00changelog*.nd` | 988 $ datafilepath=`ls corruption-test-repo/.hg/store/00changelog*.nd` |
989 $ f -s $datafilepath | 989 $ f -s $datafilepath |
990 corruption-test-repo/.hg/store/00changelog-*.nd: size=121088 (glob) | 990 corruption-test-repo/.hg/store/00changelog-*.nd: size=121088 (glob) |
991 $ dd if=$datafilepath bs=1000 count=10 of=$datafilepath-tmp status=noxfer | 991 $ dd if=$datafilepath bs=1000 count=10 of=$datafilepath-tmp |
992 10+0 records in | 992 10+0 records in |
993 10+0 records out | 993 10+0 records out |
994 * bytes * (glob) | |
994 $ mv $datafilepath-tmp $datafilepath | 995 $ mv $datafilepath-tmp $datafilepath |
995 $ f -s $datafilepath | 996 $ f -s $datafilepath |
996 corruption-test-repo/.hg/store/00changelog-*.nd: size=10000 (glob) | 997 corruption-test-repo/.hg/store/00changelog-*.nd: size=10000 (glob) |
997 | 998 |
998 Check that Mercurial reaction to this event | 999 Check that Mercurial reaction to this event |