Added test for the currently broken addremove with the expected output.
authorThomas Arendsen Hein <thomas@intevation.de>
Tue, 17 Jan 2006 15:03:47 +0100
changeset 1623 eef8ff46567a
parent 1622 5e9168401a68
child 1624 d9e576e55d81
Added test for the currently broken addremove with the expected output.
tests/test-addremove
tests/test-addremove.out
--- /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