1 import ./make-test-python.nix ({ lib, pkgs, ... }: {
3 meta.maintainers = [ lib.maintainers.anthonyroussel ];
5 nodes.machine = { pkgs, ... }: {
14 machine.wait_for_unit("tomcat.service")
15 machine.wait_for_open_port(8001)
16 machine.wait_for_file("/var/tomcat/webapps/examples");
19 "curl -sS --fail http://localhost:8001/examples/servlets/servlet/HelloWorldExample | grep 'Hello World!'"
22 "curl -sS --fail http://localhost:8001/examples/jsp/jsp2/simpletag/hello.jsp | grep 'Hello, world!'"
25 "curl -sS --fail http://localhost:8001/axis2/axis2-web/HappyAxis.jsp | grep 'Found Axis2'"