changeset 12082:5e2216a35839

tests: unify test-config-case
author Adrian Buehlmann <adrian@cadifra.com>
date Mon, 30 Aug 2010 11:39:43 +0200
parents 41e56e07eef5
children ff7c1118a83a
files tests/test-config-case tests/test-config-case.out tests/test-config-case.t
diffstat 3 files changed, 8 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-config-case	Sun Aug 29 23:56:19 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-echo '[Section]' >> $HGRCPATH
-echo 'KeY = Case Sensitive' >> $HGRCPATH
-echo 'key = lower case' >> $HGRCPATH
-
-hg showconfig Section
--- a/tests/test-config-case.out	Sun Aug 29 23:56:19 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-Section.KeY=Case Sensitive
-Section.key=lower case
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-config-case.t	Mon Aug 30 11:39:43 2010 +0200
@@ -0,0 +1,8 @@
+  $ echo '[Section]' >> $HGRCPATH
+  $ echo 'KeY = Case Sensitive' >> $HGRCPATH
+  $ echo 'key = lower case' >> $HGRCPATH
+
+  $ hg showconfig Section
+  Section.KeY=Case Sensitive
+  Section.key=lower case
+