comparison tests/test-branches.t @ 52116: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 76416b6e9d9b
children 1bebe07bfd40
comparison
equal deleted inserted replaced
52115:bf3e6680c3e4 52116:c424df1248a3
3 3
4 #if mmap 4 #if mmap
5 $ cat <<EOF >> $HGRCPATH 5 $ cat <<EOF >> $HGRCPATH
6 > [storage] 6 > [storage]
7 > revbranchcache.mmap=true 7 > revbranchcache.mmap=true
8 > EOF
9 #else
10 $ cat <<EOF >> $HGRCPATH
11 > [storage]
12 > revbranchcache.mmap=false
8 > EOF 13 > EOF
9 #endif 14 #endif
10 15
11 #if v3 16 #if v3
12 $ cat <<EOF >> $HGRCPATH 17 $ cat <<EOF >> $HGRCPATH