test-audit-path: add one more test (issue 1450)

This commit is contained in:
Peter Arrenbrecht 2009-01-04 08:06:05 +01:00
parent 778729ff46
commit cbd55becad
3 changed files with 8 additions and 1 deletions

Binary file not shown.

View File

@ -41,4 +41,8 @@ echo % attack ../test
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

View File

@ -10,7 +10,7 @@ abort: path 'b/b' traverses symbolic link 'b'
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 @@ abort: path 'back/test' traverses symbolic link 'back'
% 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