Skip to content

Commit

Permalink
Merge pull request #786 from ndw/new-service
Browse files Browse the repository at this point in the history
Add service to test #389
  • Loading branch information
ndw authored Dec 26, 2024
2 parents af79560 + 3e25f82 commit fedc627
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 19 additions & 0 deletions docker/apache2/service/slow
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/perl -- # -*- Perl -*-

use strict;
use English;
use CGI::Carp qw(fatalsToBrowser);

# To satisfy Apache, always read the input
if ($ENV{'REQUEST_METHOD'} eq 'POST') {
read(STDIN, $_, $ENV{'CONTENT_LENGTH'});
}

sleep(10);

print "Content-type: application/xml\n\n";
print "<doc><title>Sample document</title>\n";
print "<p>“Hello, world,” he said, slowly.</p>\n";
print "</doc>\n";

exit(0);
2 changes: 0 additions & 2 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.3'

services:
xtserver:
image: ghcr.io/ndw/3.0-test-suite/xproctest:0.9.0
Expand Down

0 comments on commit fedc627

Please sign in to comment.