Mercurial > hg
comparison tests/test-nested-repo.t @ 12316:4134686b83e1
tests: add exit codes to unified tests
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 16 Sep 2010 17:51:32 -0500 |
parents | 28e2e3804f2e |
children | 93452579df9e |
comparison
equal
deleted
inserted
replaced
12315:ca58f6475f1d | 12316:4134686b83e1 |
---|---|
10 | 10 |
11 Should fail: | 11 Should fail: |
12 | 12 |
13 $ hg st b/x | 13 $ hg st b/x |
14 abort: path 'b/x' is inside repo 'b' | 14 abort: path 'b/x' is inside repo 'b' |
15 [255] | |
15 $ hg add b/x | 16 $ hg add b/x |
16 abort: path 'b/x' is inside repo 'b' | 17 abort: path 'b/x' is inside repo 'b' |
18 [255] | |
17 | 19 |
18 Should fail: | 20 Should fail: |
19 | 21 |
20 $ hg add b b/x | 22 $ hg add b b/x |
21 abort: path 'b/x' is inside repo 'b' | 23 abort: path 'b/x' is inside repo 'b' |
24 [255] | |
22 $ hg st | 25 $ hg st |
23 | 26 |
24 Should arguably print nothing: | 27 Should arguably print nothing: |
25 | 28 |
26 $ hg st b | 29 $ hg st b |
30 | 33 |
31 Should fail: | 34 Should fail: |
32 | 35 |
33 $ hg mv a b | 36 $ hg mv a b |
34 abort: path 'b/a' is inside repo 'b' | 37 abort: path 'b/a' is inside repo 'b' |
38 [255] | |
35 $ hg st | 39 $ hg st |
36 | 40 |