https://bz.mercurial-scm.org/show_bug.cgi?id=6523

            Bug ID: 6523
           Summary: test-persistent-nodemap: "dd status" not portable
           Product: Mercurial
           Version: 5.8rc0
          Hardware: All
                OS: NetBSD
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: t...@giga.or.at
                CC: mercurial-devel@mercurial-scm.org
    Python Version: ---

In 5.8, test-persistent-nodemap.t uses "dd status=none".
dd(1) on NetBSD does not support this, leading to

---
/scratch/devel/py-mercurial/work/mercurial-5.8/tests/test-persistent-nodemap.t
+++
/scratch/devel/py-mercurial/work/mercurial-5.8/tests/test-persistent-nodemap.t.err
@@ -793,9 +793,13 @@
   $ f -s $datafilepath
   corruption-test-repo/.hg/store/00changelog-*.nd: size=121088 (glob)
   $ dd if=$datafilepath bs=1000 count=10 of=$datafilepath-tmp status=none
+  dd: unknown operand status
+  [1]
   $ mv $datafilepath-tmp $datafilepath
+  mv: rename
corruption-test-repo/.hg/store/00changelog-2dd95ded3cce65da.nd-tmp to
corruption-test-repo/.hg/store/00changelog-2dd95ded3cce65da.nd: $ENOENT$
+  [1]
   $ f -s $datafilepath
-  corruption-test-repo/.hg/store/00changelog-*.nd: size=10000 (glob)
+  corruption-test-repo/.hg/store/00changelog-2dd95ded3cce65da.nd: size=121088

 Check that Mercurial reaction to this event


ERROR: test-persistent-nodemap.t output changed

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to