Skip to content
Snippets Groups Projects
Commit 72c58b0d authored by Yang Tse's avatar Yang Tse
Browse files

test 1001 needs a small delay between client part execution and test

result file verifications to allow the test server to completely write
out all files
parent 6c89e1b3
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,9 @@ http://%HOSTIP:%HTTPPORT/1001 -u auser:apasswd --digest -T log/1001 -x http://%
<file name="log/1001">
test
</file>
<postcheck>
%SRCDIR/libtest/delay.pl 1
</postcheck>
</client>
# Verify data after the test has been "shot"
......
#!/usr/bin/env perl
# sleep for a number of seconds
if ( $#ARGV != 0 )
{
print "Usage: $0 seconds\n";
exit 1;
}
if ( $ARGV[0] =~ /(\d+)/ ) {
sleep $1;
exit 0;
}
else {
print "Usage: $0 seconds\n";
exit 1;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment