changeset 52121:c424df1248a3

tests: actually test the non-mmap case in `test-branches.t` It looks like 40943970b7ae renamed the config, but also flipped it to 'on' by default, and the test file didn't keep up. I noticed because all 4 test cases failed on Windows due to a mmap problem, and there only should have been 2.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 18 Oct 2024 13:45:13 -0400
parents bf3e6680c3e4
children db1980a361cb
files tests/test-branches.t
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-branches.t	Thu Oct 17 15:34:45 2024 -0400
+++ b/tests/test-branches.t	Fri Oct 18 13:45:13 2024 -0400
@@ -6,6 +6,11 @@
   > [storage]
   > revbranchcache.mmap=true
   > EOF
+#else
+  $ cat <<EOF >> $HGRCPATH
+  > [storage]
+  > revbranchcache.mmap=false
+  > EOF
 #endif
 
 #if v3