[PATCH] tests: unify test-issue1089

Adrian Buehlmann adrian at cadifra.com
Sun Sep 5 13:04:22 CDT 2010


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1283709624 -7200
# Node ID 1e9e4b8437c54b819538bcbfc6e20e6190577897
# Parent  d987dfaca09878d947c50a44f843feed8755fd4e
tests: unify test-issue1089

diff --git a/tests/test-issue1089.out b/tests/test-issue1089.out
deleted file mode 100644
--- a/tests/test-issue1089.out
+++ /dev/null
@@ -1,4 +0,0 @@
-adding a/b
-removing a/b
-adding a/b
-removing a/b
diff --git a/tests/test-issue1089 b/tests/test-issue1089.t
old mode 100755
new mode 100644
rename from tests/test-issue1089
rename to tests/test-issue1089.t
--- a/tests/test-issue1089
+++ b/tests/test-issue1089.t
@@ -1,17 +1,25 @@
-#!/bin/sh
+# http://mercurial.selenic.com/bts/issue1089
 
-hg init a
-cd a
-mkdir a
-echo a > a/b
-hg ci -Am m
-hg rm a
-hg ci -m m a
+  $ hg init
+  $ mkdir a
+  $ echo a > a/b
+  $ hg ci -Am m
+  adding a/b
 
-mkdir a b
-echo a > a/b
-hg ci -Am m
-hg rm a
-cd b
-# relative delete
-hg ci -m m ../a
+  $ hg rm a
+  removing a/b
+  $ hg ci -m m a
+
+  $ mkdir a b
+  $ echo a > a/b
+  $ hg ci -Am m
+  adding a/b
+
+  $ hg rm a
+  removing a/b
+  $ cd b
+
+Relative delete:
+
+  $ hg ci -m m ../a
+


More information about the Mercurial-devel mailing list