changeset 7249:671b3e1eac2e

test-init: add test with format.usefncache=false
author Adrian Buehlmann <adrian@cadifra.com>
date Mon, 27 Oct 2008 13:22:45 +0100
parents 723d7a2e6ec0
children 7e2e3aacc5dc
files tests/test-init tests/test-init.out
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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