##// END OF EJS Templates
tests: add a test for blackbox with nested alias configurations...
Augie Fackler -
r34299:25e1a887 default
parent child Browse files
Show More
@@ -6,6 +6,7 b' setup'
6 > mq=
6 > mq=
7 > [alias]
7 > [alias]
8 > confuse = log --limit 3
8 > confuse = log --limit 3
9 > so-confusing = confuse --style compact
9 > EOF
10 > EOF
10 $ hg init blackboxtest
11 $ hg init blackboxtest
11 $ cd blackboxtest
12 $ cd blackboxtest
@@ -29,6 +30,16 b' alias expansion is logged'
29 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> confuse exited 0 after * seconds (glob)
30 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> confuse exited 0 after * seconds (glob)
30 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> blackbox
31 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> blackbox
31
32
33 recursive aliases work correctly
34 $ rm ./.hg/blackbox.log
35 $ hg so-confusing
36 $ hg blackbox
37 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> so-confusing
38 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> alias 'so-confusing' expands to 'confuse --style compact'
39 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> alias 'confuse' expands to 'log --limit 3'
40 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> so-confusing exited 0 after * seconds (glob)
41 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> blackbox
42
32 incoming change tracking
43 incoming change tracking
33
44
34 create two heads to verify that we only see one change in the log later
45 create two heads to verify that we only see one change in the log later
General Comments 0
You need to be logged in to leave comments. Login now