Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
#! /usr/bin/crm |
| 2 |
# |
| 3 |
# nestaliustest.crm - test nesting of alias statements |
| 4 |
|
| 5 |
# Copyright 2009 William S. Yerazunis. |
| 6 |
# This file is under GPLv3, as described in COPYING. |
| 7 |
|
| 8 |
# test the alius statement |
| 9 |
{ |
| 10 |
{ |
| 11 |
{ |
| 12 |
output /checking for a foo.../ |
| 13 |
match /foo/ |
| 14 |
output /Found a foo :*:_nl:/ |
| 15 |
} |
| 16 |
alius |
| 17 |
{ |
| 18 |
output /no foo... checking for bar.../ |
| 19 |
match /bar/ |
| 20 |
output /Found a bar. :*:_nl:/ |
| 21 |
} |
| 22 |
alius |
| 23 |
{ |
| 24 |
output /found neither... continuing :*:_nl:/ |
| 25 |
} |
| 26 |
} |
| 27 |
{ |
| 28 |
{ |
| 29 |
output /checking for a baz.../ |
| 30 |
match /baz/ |
| 31 |
output /Found a baz :*:_nl:/ |
| 32 |
} |
| 33 |
alius |
| 34 |
{ |
| 35 |
output /no baz... checking for wugga.../ |
| 36 |
match /wugga/ |
| 37 |
output /Found a wugga. :*:_nl:/ |
| 38 |
} |
| 39 |
alius |
| 40 |
output /found neither :*:_nl:/ |
| 41 |
} |
| 42 |
} |