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
new file mode 100755
--- /dev/null
+++ b/tests/test-addremove
@@ -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"
new file mode 100644
--- /dev/null
+++ b/tests/test-addremove.out
@@ -0,0 +1,8 @@
+adding dir/bar
+adding foo
+dir/bar
+foo
+adding dir/bar_2
+adding foo_2
+dir/bar_2
+foo_2