X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=BookReaderIA%2Fsendtoswarm.pl;h=0485106c3e2af41f79406de9691e1c52e708574c;hb=64f26e7b67a328556c3e7c160ca9879ac25a65b5;hp=d83c4c3c8dde06bfe551ea8f7e1ec236caeffab2;hpb=0263c687b5fadf0bb2a380f1a2ee7b0b74bae121;p=bookreader.git diff --git a/BookReaderIA/sendtoswarm.pl b/BookReaderIA/sendtoswarm.pl index d83c4c3..0485106 100755 --- a/BookReaderIA/sendtoswarm.pl +++ b/BookReaderIA/sendtoswarm.pl @@ -53,7 +53,7 @@ my $BUILD = "(cd BookReaderIA; make test)"; # Note: The string {REV} will be replaced with the current # commit number/hash. -my $JOB_NAME = "BookReader Commit #{REV}"; +my $JOB_NAME = "BookReader www-testflip #{REV}"; # The browsers you wish to run against. Options include: # - "all" all available browsers. @@ -175,17 +175,13 @@ if ( ! $rev ) { "&urls[]=" . clean($SUITES{$suite}); } - # XXX hacking in host header for now - #print "curl -d \"$query\" $SWARM\n" if ( $DEBUG ); - #my $results = `curl -d "$query" $SWARM`; - my $cmd = 'curl -H "Host: test.archive.org" -d "' . $query . '" ' . $SWARM; - print $cmd . '\n' if ( $DEBUG ); - my $results = `$cmd`; + print "curl -d \"$query\" $SWARM\n" if ( $DEBUG ); + my $results = `curl -d "$query" $SWARM`; print "Results: $results\n" if ( $DEBUG ); if ( $results ) { - open( my $fh, '>', "$rev/results.txt" ) or die "$rev/results.txt : $!"; + open( my $fh, '>', "results.txt" ) or die "$rev/results.txt : $!"; print $fh "$SWARM$results"; close( $fh );