Add tests/test-committer
This checks to see if the EMAIL environment variable is being used for commit.
author |
Andrew Thompson <andrewkt@aktzero.com> |
date |
Thu, 20 Apr 2006 16:33:49 +0200 |
parents |
caccf539c9a4 |
children |
b03de24ee2ec |
files |
tests/test-committer tests/test-committer.out |
diffstat |
2 files changed, 18 insertions(+), 0 deletions(-)
[+]
|
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-committer Thu Apr 20 16:33:49 2006 +0200
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+unset HGUSER
+EMAIL="My Name <myname@example.com>"
+export EMAIL
+
+hg init test
+cd test
+touch asdf
+hg add asdf
+hg commit -d '1000000 0' -m commit-1
+hg tip
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-committer.out Thu Apr 20 16:33:49 2006 +0200
@@ -0,0 +1,6 @@
+changeset: 0:9426b370c206
+tag: tip
+user: My Name <myname@example.com>
+date: Mon Jan 12 13:46:40 1970 +0000
+summary: commit-1
+