tests fix
TK Soh
teekaysoh at yahoo.com
Tue Aug 30 21:16:36 CDT 2005
Saw a couple of failure when running test on tip, on my Redhat 9.0 box. See if
this patch did the right thing to fix.
# HG changeset patch
# User TK Soh <teekaysoh at yahoo.com>
# Node ID fd63a41eeb7979fdc3a74fe98b7fc9ee95c2b495
# Parent a33a7a543803c7383a6918b19797bf9fd6b83e8e
fix tests on copy2 and filebranch
diff -r a33a7a543803 -r fd63a41eeb79 tests/test-copy2
--- a/tests/test-copy2 Sun Aug 28 06:45:27 2005
+++ b/tests/test-copy2 Wed Aug 31 02:12:17 2005
@@ -8,11 +8,11 @@
echo "# should show copy"
cp foo bar
hg copy foo bar
-hg debugstate
+hg debugstate | cut -b 1-16,35-
echo "# shouldn't show copy"
hg commit -m2 -d"0 0"
-hg debugstate
+hg debugstate | cut -b 1-16,35-
echo "# should match"
hg debugindex .hg/data/foo.i
@@ -28,7 +28,7 @@
cp foo bar
hg copy foo bar
echo "# should show copy"
-hg debugstate
+hg debugstate | cut -b 1-16,35-
hg commit -m3 -d"0 0"
echo "# should show no parents for tip"
@@ -38,4 +38,4 @@
hg debugrename bar
echo "# should show no copies"
-hg debugstate
\ No newline at end of file
+hg debugstate | cut -b 1-16,35-
diff -r a33a7a543803 -r fd63a41eeb79 tests/test-copy2.out
--- a/tests/test-copy2.out Sun Aug 28 06:45:27 2005
+++ b/tests/test-copy2.out Wed Aug 31 02:12:17 2005
@@ -1,11 +1,11 @@
# should show copy
-a 644 4 08/28/05 05:00:19 bar
-n 644 4 08/28/05 05:00:19 foo
+a 644 4 bar
+n 644 4 foo
foo -> bar
# shouldn't show copy
-n 644 4 08/28/05 05:00:19 bar
-n 644 4 08/28/05 05:00:19 foo
+n 644 4 bar
+n 644 4 foo
# should match
rev offset length base linkrev nodeid p1 p2
@@ -14,8 +14,8 @@
# should not be renamed
not renamed
# should show copy
-n 644 5 08/28/05 05:00:19 bar
-n 644 6 08/28/05 05:00:19 foo
+n 644 5 bar
+n 644 6 foo
foo -> bar
# should show no parents for tip
@@ -29,6 +29,6 @@
1 5 7 1 2 dd12c926cf16 2ed2a3912a0b 000000000000
renamed from foo:dd12c926cf165e3eb4cf87b084955cb617221c17
# should show no copies
-n 644 6 08/28/05 05:00:19 bar
-n 644 6 08/28/05 05:00:19 foo
+n 644 6 bar
+n 644 6 foo
diff -r a33a7a543803 -r fd63a41eeb79 tests/test-filebranch.out
--- a/tests/test-filebranch.out Sun Aug 28 06:45:27 2005
+++ b/tests/test-filebranch.out Wed Aug 31 02:12:17 2005
@@ -6,6 +6,7 @@
n 644 3 baz
n 644 3 foo
n 644 2 quux
+
merging
pulling from ../a
searching for changes
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
More information about the Mercurial
mailing list