Skip to content

Commit

Permalink
More xlat inline tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Nov 14, 2017
1 parent 24c14b4 commit 2d82197
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/tests/keywords/xlat-inline
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,18 @@ if ("%{debug:%{Tmp-Integer-0}}" != "%{Tmp-Integer-0}") {
fail
}

# Check for 'splosions
"%{%{control:Cleartext-Password}:-%{control:User-Name}}"
"%{%{control:User-Name}:-%{control:Cleartext-Password}}"

if (&control:Cleartext-Password =~ /(h)(e)(l)(l)(o)/) {
"%{0}"
"%{1}"
"%{2}"
"%{3}"
"%{4}"
"%{5}"
"%{6}"
}

success

0 comments on commit 2d82197

Please sign in to comment.