Mercurial > hg-stable
changeset 7586:e9d3a11eacad
test-audit-path: add one more test (issue 1450)
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Sun, 04 Jan 2009 08:06:05 +0100 |
parents | 075b7ef0f84d |
children | 766d9cf58b3f |
files | tests/tampered.hg tests/test-audit-path tests/test-audit-path.out |
diffstat | 3 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-audit-path Sun Jan 04 02:36:48 2009 +0100 +++ b/tests/test-audit-path Sun Jan 04 08:06:05 2009 +0100 @@ -41,4 +41,8 @@ hg manifest -r3 hg update -Cr3 +echo % attack /tmp/test +hg manifest -r4 +hg update -Cr4 2>&1 | sed -e "s|$HGTMP|[HGTMP]|" + exit 0
--- a/tests/test-audit-path.out Sun Jan 04 02:36:48 2009 +0100 +++ b/tests/test-audit-path.out Sun Jan 04 08:06:05 2009 +0100 @@ -10,7 +10,7 @@ adding changesets adding manifests adding file changes -added 4 changesets with 5 changes to 5 files (+3 heads) +added 5 changesets with 6 changes to 6 files (+4 heads) (run 'hg heads' to see heads, 'hg merge' to merge) % attack .hg/test .hg/test @@ -25,3 +25,6 @@ % attack ../test ../test abort: path contains illegal component: ../test +% attack /tmp/test +/tmp/test +abort: No such file or directory: [HGTMP]/test-audit-path/target//tmp/test