[PATCH] tests: unify test-issue433

Adrian Buehlmann adrian at cadifra.com
Sat Sep 4 03:42:34 CDT 2010


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1283589646 -7200
# Node ID 136e1d27514de85f242fd9f8bef3f65cd1027cef
# Parent  59b6ec78eac1d72152ba969be2ad83e90924e63b
tests: unify test-issue433

diff --git a/tests/test-issue433.out b/tests/test-issue433.out
deleted file mode 100644
--- a/tests/test-issue433.out
+++ /dev/null
@@ -1,2 +0,0 @@
-adding a
-abort: 'doesnotexist' not found in manifest!
diff --git a/tests/test-issue433 b/tests/test-issue433.t
old mode 100755
new mode 100644
rename from tests/test-issue433
rename to tests/test-issue433.t
--- a/tests/test-issue433
+++ b/tests/test-issue433.t
@@ -1,10 +1,12 @@
-#!/bin/sh
 # http://mercurial.selenic.com/bts/issue433
 
-hg init a
-cd a
-echo a > a
-hg commit -Ama
+  $ hg init
+  $ echo a > a
+  $ hg commit -Ama
+  adding a
 
-hg parents -r 0 doesnotexist
-true
+  $ hg parents -r 0 doesnotexist
+  abort: 'doesnotexist' not found in manifest!
+
+  $ true
+


More information about the Mercurial-devel mailing list