blob: 6d38ecab3e5781dca8ec8aaae71bfe7fab53f9f6 [file] [log] [blame]
Patrick Hemmere3faf022018-08-22 10:02:00 -04001varnishtest "Lua: txn:get_priv() scope"
2feature ignore_unknown_macro
3
4haproxy h1 -conf {
5 global
6 lua-load ${testdir}/h00001.lua
7
8 frontend fe1
9 mode http
10 bind "fd@${fe1}"
11 default_backend b1
12
13 http-response lua.bug
14
15 backend b1
16 mode http
17 http-request use-service lua.fakeserv
18} -start
19
20client c0 -connect ${h1_fe1_sock} {
21 txreq -url "/"
22 rxresp
23 expect resp.status == 201
24 txreq -url "/"
25 rxresp
26 expect resp.status == 201
27}
28
29client c0 -start
30
31client c0 -wait