Mercurial > hg > mercurial-source
comparison tests/test-bundle-type.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 | bcc7139521b7 |
children | d54d4de56aa7 |
comparison
equal
deleted
inserted
replaced
12315:ca58f6475f1d | 12316:4134686b83e1 |
---|---|
86 $ echo garbage > bgarbage | 86 $ echo garbage > bgarbage |
87 $ hg init tgarbage | 87 $ hg init tgarbage |
88 $ cd tgarbage | 88 $ cd tgarbage |
89 $ hg pull ../bgarbage | 89 $ hg pull ../bgarbage |
90 abort: ../bgarbage: not a Mercurial bundle | 90 abort: ../bgarbage: not a Mercurial bundle |
91 [255] | |
91 $ cd .. | 92 $ cd .. |
92 | 93 |
93 test invalid bundle type | 94 test invalid bundle type |
94 | 95 |
95 $ cd t1 | 96 $ cd t1 |
96 $ hg bundle -a -t garbage ../bgarbage | 97 $ hg bundle -a -t garbage ../bgarbage |
97 1 changesets found | 98 1 changesets found |
98 abort: unknown bundle type specified with --type | 99 abort: unknown bundle type specified with --type |
100 [255] | |
99 $ cd .. | 101 $ cd .. |