changeset 1623:eef8ff46567a

Added test for the currently broken addremove with the expected output.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 17 Jan 2006 15:03:47 +0100
parents 5e9168401a68
children d9e576e55d81
files tests/test-addremove tests/test-addremove.out
diffstat 2 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-addremove	Tue Jan 17 15:03:47 2006 +0100
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+hg init rep
+cd rep
+mkdir dir
+touch foo dir/bar
+hg -v addremove
+hg -v commit -m "add 1" -d "0 0"
+cd dir/
+touch ../foo_2 bar_2
+hg -v addremove
+hg -v commit -m "add 2" -d "0 0"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-addremove.out	Tue Jan 17 15:03:47 2006 +0100
@@ -0,0 +1,8 @@
+adding dir/bar
+adding foo
+dir/bar
+foo
+adding dir/bar_2
+adding foo_2
+dir/bar_2
+foo_2