From: Alan T. DeKok Date: Wed, 4 Oct 2023 14:50:43 +0000 (-0400) Subject: don't use `...`, in preparation for moving to %exec() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ba56a0f76aadf6ee76343f1f2afeb7ebf29451a;p=thirdparty%2Ffreeradius-server.git don't use `...`, in preparation for moving to %exec() --- diff --git a/src/tests/keywords/update-list-error b/src/tests/keywords/update-list-error index acc67a71f1..601e28d8fe 100644 --- a/src/tests/keywords/update-list-error +++ b/src/tests/keywords/update-list-error @@ -9,10 +9,6 @@ update { &reply !* ANY } -update { - &reply += `/path/to/foo bar baz` -} - update { &request := nope # ERROR } diff --git a/src/tests/keywords/xlat-exec b/src/tests/keywords/xlat-exec index e1e95c1c59..e8467fc10f 100644 --- a/src/tests/keywords/xlat-exec +++ b/src/tests/keywords/xlat-exec @@ -1,17 +1,17 @@ &Tmp-String-0 = "foo" -&Tmp-String-1 := `/bin/echo hello 1234:%{Tmp-String-0} world` +&Tmp-String-1 := %exec('/bin/echo', "hello 1234:%{Tmp-String-0} world") if (!(&Tmp-String-1 == "hello 1234:foo world")) { test_fail } -&Tmp-String-1 := `/bin/echo hello %{Tmp-String-0}:1234 world` +&Tmp-String-1 := %exec('/bin/echo', "hello %{Tmp-String-0}:1234 world") if (!(&Tmp-String-1 == "hello foo:1234 world")) { test_fail } # User-Password contains characters that need escaping -&Tmp-String-2 := `/bin/echo %{User-Password}` +&Tmp-String-2 := %exec('/bin/echo', "%{User-Password}") if (!(&Tmp-String-2 == &User-Password)) { test_fail } else {