[PATCH] tests: unify test-config-case
Adrian Buehlmann
adrian at cadifra.com
Mon Aug 30 04:45:55 CDT 2010
# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1283161183 -7200
# Node ID 3dc211f9a57db24d5d4b73c9c1ce972a85388f7c
# Parent 9a3afc30ddd541e0793ecf56f89ea880dc10b034
tests: unify test-config-case
diff --git a/tests/test-config-case.out b/tests/test-config-case.out
deleted file mode 100644
--- a/tests/test-config-case.out
+++ /dev/null
@@ -1,2 +0,0 @@
-Section.KeY=Case Sensitive
-Section.key=lower case
diff --git a/tests/test-config-case b/tests/test-config-case.t
old mode 100755
new mode 100644
rename from tests/test-config-case
rename to tests/test-config-case.t
--- a/tests/test-config-case
+++ b/tests/test-config-case.t
@@ -1,7 +1,8 @@
-#!/bin/sh
+ $ echo '[Section]' >> $HGRCPATH
+ $ echo 'KeY = Case Sensitive' >> $HGRCPATH
+ $ echo 'key = lower case' >> $HGRCPATH
-echo '[Section]' >> $HGRCPATH
-echo 'KeY = Case Sensitive' >> $HGRCPATH
-echo 'key = lower case' >> $HGRCPATH
+ $ hg showconfig Section
+ Section.KeY=Case Sensitive
+ Section.key=lower case
-hg showconfig Section
More information about the Mercurial-devel
mailing list