Skip to content

Commit

Permalink
move this back to before &&/|| changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Oct 9, 2023
1 parent c35685d commit 763219e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/modules/ldap/xlat.unlang
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if (!(&Tmp-String-6 == "John Doe")) {
# Return multiple values - could be in any sequence
&Tmp-String-7 := %ldap("ldap://$ENV{LDAP_TEST_SERVER}:$ENV{LDAP_TEST_SERVER_PORT}/ou=clients,dc=example,dc=com?freeradiusClientIdentifier?sub?(objectClass=freeradiusClient)")

if (!(&Tmp-String-7[*] == "1.1.1.1") && !(&Tmp-String-7[*] == "2.2.2.2")) {
if (!(&Tmp-String-7 == "1.1.1.12.2.2.2") && !(&Tmp-String-7 == "2.2.2.21.1.1.1")) {
test_fail
}

Expand Down

0 comments on commit 763219e

Please sign in to comment.