diff options
author | Yang Tse <yangsita@gmail.com> | 2007-11-23 09:50:44 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-11-23 09:50:44 +0000 |
commit | 3daa54d636f736635e03f5a896ba66f64477592d (patch) | |
tree | 9fadc77a7fea1e3892538c4831df8c7d79638e79 /tests/httpserver.pl | |
parent | 8f1829d1d2f3311e109fb2e44d4b5e54048a41d3 (diff) | |
download | curl-3daa54d636f736635e03f5a896ba66f64477592d.tar.gz |
Revert last change since it breaks running the test suite
when builddir is different from srcdir.
Diffstat (limited to 'tests/httpserver.pl')
-rwxr-xr-x | tests/httpserver.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/httpserver.pl b/tests/httpserver.pl index cb49fa918..ae1bcec28 100755 --- a/tests/httpserver.pl +++ b/tests/httpserver.pl @@ -4,7 +4,7 @@ use strict; my $verbose=0; # set to 1 for debugging -my $srcdir="."; +my $dir="."; my $port = 8999; # just a default my $ipv6; my $pid=".http.pid"; # name of the pidfile @@ -14,7 +14,7 @@ do { $verbose=1; } elsif($ARGV[0] eq "-d") { - $srcdir=$ARGV[1]; + $dir=$ARGV[1]; shift @ARGV; } elsif($ARGV[0] eq "-p") { @@ -33,4 +33,4 @@ do { } } while(shift @ARGV); -exec("$srcdir/server/sws --pidfile $pid$fork $ipv6$port $srcdir"); +exec("server/sws --pidfile $pid$fork $ipv6$port $dir"); |