summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/virtual-rhs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/keywords/virtual-rhs')
-rw-r--r--src/tests/keywords/virtual-rhs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tests/keywords/virtual-rhs b/src/tests/keywords/virtual-rhs
new file mode 100644
index 0000000..0d21e7f
--- /dev/null
+++ b/src/tests/keywords/virtual-rhs
@@ -0,0 +1,16 @@
+#
+# PRE: update if
+#
+update control {
+ Cleartext-Password := 'hello'
+}
+
+update request {
+ Tmp-String-0 := "<UNKNOWN-CLIENT>"
+}
+
+if (&Tmp-String-0 == &Client-Shortname) {
+ update reply {
+ Filter-Id := "filter"
+ }
+}