/usr/share/doc/crm114/examples/tests/nestaliustest.crm is in crm114 20100106-7.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #! /usr/bin/crm
#
# nestaliustest.crm - test nesting of alias statements
# Copyright 2009 William S. Yerazunis.
# This file is under GPLv3, as described in COPYING.
# test the alius statement
{
{
{
output /checking for a foo.../
match /foo/
output /Found a foo :*:_nl:/
}
alius
{
output /no foo... checking for bar.../
match /bar/
output /Found a bar. :*:_nl:/
}
alius
{
output /found neither... continuing :*:_nl:/
}
}
{
{
output /checking for a baz.../
match /baz/
output /Found a baz :*:_nl:/
}
alius
{
output /no baz... checking for wugga.../
match /wugga/
output /Found a wugga. :*:_nl:/
}
alius
output /found neither :*:_nl:/
}
}
|