changeset 2223:b72562060e45

Update tests for revlogng
author Matt Mackall <mpm@selenic.com>
date Mon, 08 May 2006 14:32:43 -0500
parents c9e264b115e6
children 8b106ff5b8a9
files tests/test-copy tests/test-copy.out tests/test-hup.out tests/test-permissions
diffstat 4 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-copy	Mon May 08 14:26:18 2006 -0500
+++ b/tests/test-copy	Mon May 08 14:32:43 2006 -0500
@@ -22,7 +22,7 @@
 echo "this should show the rename information in the metadata"
 hg debugdata .hg/data/b.d 0 | head -3 | tail -2
 
-$TESTDIR/md5sum.py .hg/data/b.d
+$TESTDIR/md5sum.py .hg/data/b.i
 hg cat b > bsum
 $TESTDIR/md5sum.py bsum
 hg cat a > asum
--- a/tests/test-copy.out	Mon May 08 14:26:18 2006 -0500
+++ b/tests/test-copy.out	Mon May 08 14:32:43 2006 -0500
@@ -41,7 +41,7 @@
 this should show the rename information in the metadata
 copyrev: b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
 copy: a
-566e338d09a089ba737c21e0d3759980  .hg/data/b.d
+ed156f22f0a6fde642de0b5eba0cbbb2  .hg/data/b.i
 60b725f10c9c85c70d97880dfe8191b3  bsum
 60b725f10c9c85c70d97880dfe8191b3  asum
 checking changesets
--- a/tests/test-hup.out	Mon May 08 14:26:18 2006 -0500
+++ b/tests/test-hup.out	Mon May 08 14:32:43 2006 -0500
@@ -4,7 +4,6 @@
 killed!
 transaction abort!
 rollback completed
-00changelog.d
 00changelog.i
 data
 journal.dirstate
--- a/tests/test-permissions	Mon May 08 14:26:18 2006 -0500
+++ b/tests/test-permissions	Mon May 08 14:32:43 2006 -0500
@@ -5,11 +5,11 @@
 hg add a
 hg commit -m "1" -d "1000000 0"
 hg verify
-chmod -r .hg/data/a.d
+chmod -r .hg/data/a.i
 hg verify 2>/dev/null || echo verify failed
-chmod +r .hg/data/a.d
+chmod +r .hg/data/a.i
 hg verify 2>/dev/null || echo verify failed
-chmod -w .hg/data/a.d
+chmod -w .hg/data/a.i
 echo barber > a
 hg commit -m "2" -d "1000000 0" 2>/dev/null || echo commit failed