nixosTests.anubis: fix test
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
machine.succeed('curl -f http://basic.localhost | grep "it works"')
|
||||
machine.succeed('curl -f http://basic.localhost -H "User-Agent: Mozilla" | grep anubis')
|
||||
machine.succeed('curl -f http://basic.localhost/metrics | grep anubis_challenges_issued')
|
||||
machine.succeed('curl -f -X POST http://basic.localhost/.within.website/x/cmd/anubis/api/make-challenge | grep challenge')
|
||||
machine.succeed('curl -f -X POST http://basic.localhost/.within.website/x/cmd/anubis/api/make-challenge -d "redir=/" | grep challenge')
|
||||
|
||||
# TCP mode
|
||||
machine.succeed('curl -f http://tcp.localhost -H "User-Agent: Mozilla" | grep anubis')
|
||||
|
||||
Reference in New Issue
Block a user