comparison tests/test-locate.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 844d25bf65a3
children 22f3353bcc36
comparison
equal deleted inserted replaced
12315:ca58f6475f1d 12316:4134686b83e1
40 40
41 $ hg rm a 41 $ hg rm a
42 $ hg ci -m m 42 $ hg ci -m m
43 43
44 $ hg locate a 44 $ hg locate a
45 [1]
45 $ hg locate NONEXISTENT 46 $ hg locate NONEXISTENT
47 [1]
46 $ hg locate relpath:NONEXISTENT 48 $ hg locate relpath:NONEXISTENT
49 [1]
47 $ hg locate 50 $ hg locate
48 b 51 b
49 dir.h/foo 52 dir.h/foo
50 t.h 53 t.h
51 t/b 54 t/b
52 t/e.h 55 t/e.h
53 t/x 56 t/x
54 $ hg locate -r 0 a 57 $ hg locate -r 0 a
55 a 58 a
56 $ hg locate -r 0 NONEXISTENT 59 $ hg locate -r 0 NONEXISTENT
60 [1]
57 $ hg locate -r 0 relpath:NONEXISTENT 61 $ hg locate -r 0 relpath:NONEXISTENT
62 [1]
58 $ hg locate -r 0 63 $ hg locate -r 0
59 a 64 a
60 b 65 b
61 dir.h/foo 66 dir.h/foo
62 t.h 67 t.h