update old 'directives.txt' policy test file for current syntax

This commit is contained in:
Brian Cox 2017-03-19 10:40:29 -07:00
parent 2c57dd824a
commit a2e82147eb
1 changed files with 11 additions and 9 deletions

View File

@ -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;