[Bug 6858] New: test-censor.t test failure

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sun Dec 10 14:27:45 UTC 2023


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

            Bug ID: 6858
           Summary: test-censor.t test failure
           Product: Mercurial
           Version: 6.6.1
          Hardware: All
                OS: NetBSD
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: tk at giga.or.at
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

There is a new test failure in 6.6.1 on NetBSD:

--- /scratch/devel/py-mercurial/work/mercurial-6.6.1/tests/test-censor.t        
+++
/scratch/devel/py-mercurial/work/mercurial-6.6.1/tests/test-censor.t#revlogv1.err 
@@ -301,6 +301,7 @@                                                             
           8         ??? no  file      target (glob) (revlogv2 !)               
           8         ??? yes file      target (glob) (revlogv1 !)               
   $ cat /dev/rand?m | dd status=none count=200 | f --hexdump > target          
+  dd: unknown operand status                                                   
   $ hg ci -m 'add 100k passwords'                                              
   $ H2=`hg id --debug -i`                                                      
   $ C5=$H2                                                                     
@@ -309,7 +310,7 @@                                                             
   $ H2=`hg id --debug -i`                                                      
   $ hg debugrevlogstats | grep target                                          
   rev-count   data-size inl type      target                                   
-         10      ?????? no  file      target (glob)                            
+         10         185 yes file      target                                   
   $ hg --config extensions.censor= censor -r $C5 target                        

 The important part is for the censor operation to not crash and the repository
@@ -317,7 +318,7 @@                                                             

   $ hg debugrevlogstats | grep target
   rev-count   data-size inl type      target 
-         10         ??? no  file      target (glob)
+         10         199 yes file      target
   $ hg cat -r $C5 target | head -n 10
   $ hg cat -r $H2 target | head -n 10
   fresh start

ERROR: test-censor.t#revlogv1 output changed

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list