test-init: add test with format.usefncache=false
authorAdrian Buehlmann <adrian@cadifra.com>
Mon, 27 Oct 2008 13:22:45 +0100
changeset 7249 671b3e1eac2e
parent 7248 723d7a2e6ec0
child 7263 7e2e3aacc5dc
test-init: add test with format.usefncache=false
tests/test-init
tests/test-init.out
--- a/tests/test-init	Mon Oct 27 13:17:26 2008 +0100
+++ b/tests/test-init	Mon Oct 27 13:22:45 2008 +0100
@@ -44,10 +44,14 @@
 echo this > local/foo
 hg ci --cwd local -A -m "init" -d "1000000 0"
 
-echo "# creating repo with old format"
+echo "# creating repo with format.usestore=false"
 hg --config format.usestore=false init old
 checknewrepo old
 
+echo "# creating repo with format.usefncache=false"
+hg --config format.usefncache=false init old2
+checknewrepo old2
+
 echo "#test failure"
 hg init local
 
--- a/tests/test-init.out	Mon Oct 27 13:17:26 2008 +0100
+++ b/tests/test-init.out	Mon Oct 27 13:22:45 2008 +0100
@@ -5,8 +5,13 @@
 store
 fncache
 adding foo
-# creating repo with old format
+# creating repo with format.usestore=false
 revlogv1
+# creating repo with format.usefncache=false
+store created
+00changelog.i created
+revlogv1
+store
 #test failure
 abort: repository local already exists!
 # init+push to remote2