changeset 12305:fd78997d1e6b

tests: unify test-extra-filelog-entry
author Adrian Buehlmann <adrian@cadifra.com>
date Wed, 15 Sep 2010 18:00:09 +0200
parents 41dd368b6fe8
children fb10e46c1679
files tests/test-extra-filelog-entry tests/test-extra-filelog-entry.out tests/test-extra-filelog-entry.t
diffstat 3 files changed, 21 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-extra-filelog-entry	Wed Sep 15 16:27:39 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-#!/bin/sh
-#
-# test for issue351
-
-# Environement setup for MQ
-echo "[extensions]" >> $HGRCPATH
-echo "mq=" >> $HGRCPATH
-
-#Repo init
-hg init
-hg qinit
-
-echo b > b
-hg ci -A -m foo
-echo cc > b
-hg qnew -f foo.diff
-echo b > b
-hg qrefresh
-hg debugindex .hg/store/data/b.i
--- a/tests/test-extra-filelog-entry.out	Wed Sep 15 16:27:39 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-adding b
-   rev    offset  length   base linkrev nodeid       p1           p2
-     0         0       3      0       0 1e88685f5dde 000000000000 000000000000
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-extra-filelog-entry.t	Wed Sep 15 18:00:09 2010 +0200
@@ -0,0 +1,21 @@
+# test for issue351
+
+  $ echo "[extensions]" >> $HGRCPATH
+  $ echo "mq=" >> $HGRCPATH
+
+  $ hg init
+  $ hg qinit
+
+  $ echo b > b
+  $ hg ci -A -m foo
+  adding b
+
+  $ echo cc > b
+  $ hg qnew -f foo.diff
+  $ echo b > b
+  $ hg qrefresh
+
+  $ hg debugindex .hg/store/data/b.i
+     rev    offset  length   base linkrev nodeid       p1           p2
+       0         0       3      0       0 1e88685f5dde 000000000000 000000000000
+