update old 'directives.txt' policy test file for current syntax
This commit is contained in:
parent
2c57dd824a
commit
a2e82147eb
|
@ -5,7 +5,7 @@
|
||||||
@@ifhost foo
|
@@ifhost foo
|
||||||
@@error NO1
|
@@error NO1
|
||||||
@@else
|
@@else
|
||||||
@@echo +YES1;
|
@@print +YES1
|
||||||
@@endif
|
@@endif
|
||||||
|
|
||||||
@@ifhost bar || your_host||baz
|
@@ifhost bar || your_host||baz
|
||||||
|
@ -26,10 +26,10 @@
|
||||||
@@ifhost foo
|
@@ifhost foo
|
||||||
@@error +NO5;
|
@@error +NO5;
|
||||||
@@else
|
@@else
|
||||||
@@echo +YES2;
|
@@print +YES2;
|
||||||
@@endif
|
@@endif
|
||||||
|
|
||||||
@@echo +YES3;
|
@@print +YES3;
|
||||||
|
|
||||||
@@endif
|
@@endif
|
||||||
|
|
||||||
|
@ -38,12 +38,12 @@
|
||||||
@@ifhost your_host
|
@@ifhost your_host
|
||||||
|
|
||||||
@@ifhost your_host
|
@@ifhost your_host
|
||||||
@@echo +YES4;
|
@@print +YES4;
|
||||||
@@else
|
@@else
|
||||||
@@error +NO6;
|
@@error +NO6;
|
||||||
@@endif
|
@@endif
|
||||||
|
|
||||||
@@echo +YES5;
|
@@print +YES5;
|
||||||
|
|
||||||
@@else
|
@@else
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
@@endif
|
@@endif
|
||||||
|
|
||||||
@@ifhost your_host
|
@@ifhost your_host
|
||||||
@@echo +YES6;
|
@@print +YES6;
|
||||||
@@else
|
@@else
|
||||||
@@error +NO10;
|
@@error +NO10;
|
||||||
@@endif
|
@@endif
|
||||||
|
@ -66,16 +66,16 @@
|
||||||
@@ifhost foo
|
@@ifhost foo
|
||||||
@@error +NO11;
|
@@error +NO11;
|
||||||
@@else
|
@@else
|
||||||
@@echo +YES7;
|
@@print +YES7;
|
||||||
@@endif
|
@@endif
|
||||||
|
|
||||||
|
|
||||||
@@ifhost your_host || baz
|
@@ifhost your_host || baz
|
||||||
@@echo +YES8;
|
@@print +YES8;
|
||||||
@@endif
|
@@endif
|
||||||
|
|
||||||
@@ifhost baz || your_host
|
@@ifhost baz || your_host
|
||||||
@@echo +YES9;
|
@@print +YES9;
|
||||||
@@endif
|
@@endif
|
||||||
|
|
||||||
@@ifhost baz
|
@@ifhost baz
|
||||||
|
@ -132,4 +132,6 @@
|
||||||
|
|
||||||
@@endif
|
@@endif
|
||||||
|
|
||||||
|
#A token rule at the end to avoid 'no rules in policy file' errors
|
||||||
|
/asdf -> +a;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue