# HG changeset patch # User Thomas Arendsen Hein # Date 2006-01-17 14:03:47 # Node ID eef8ff46567a2db391c4c385277207de4f15e28b # Parent 5e9168401a68053e98eba621a13084be33291b56 Added test for the currently broken addremove with the expected output. diff --git a/tests/test-addremove b/tests/test-addremove 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" diff --git a/tests/test-addremove.out b/tests/test-addremove.out 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