summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorElan Ruusamäe <glen@delfi.ee>2008-01-15 22:03:59 +0000
committerElan Ruusamäe <glen@delfi.ee>2008-01-15 22:03:59 +0000
commitc65ad47a55874571a53e03a422d6be3ab96a4584 (patch)
treeab68785c32aea58f45890fa05e08ccb509b8895b /tests
parent708f499d757011dbf782aa16fd4cf9c8f56cda76 (diff)
downloadlighttpd-git-c65ad47a55874571a53e03a422d6be3ab96a4584.tar.gz
- change s/// separator that it doesn't confuse vim
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2027 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests')
-rwxr-xr-xtests/cachable.t8
-rw-r--r--tests/core-404-handler.t8
-rwxr-xr-xtests/core-condition.t8
-rwxr-xr-xtests/core-keepalive.t9
-rwxr-xr-xtests/core-request.t8
-rwxr-xr-xtests/core-response.t9
-rwxr-xr-xtests/core-var-include.t8
-rwxr-xr-xtests/core.t9
-rw-r--r--tests/env-variables.t9
-rwxr-xr-xtests/lowercase.t8
-rwxr-xr-xtests/mod-access.t8
-rwxr-xr-xtests/mod-auth.t8
-rwxr-xr-xtests/mod-cgi.t8
-rwxr-xr-xtests/mod-compress.t8
-rwxr-xr-xtests/mod-fastcgi.t8
-rwxr-xr-xtests/mod-proxy.t8
-rwxr-xr-xtests/mod-redirect.t8
-rwxr-xr-xtests/mod-rewrite.t8
-rwxr-xr-xtests/mod-secdownload.t8
-rwxr-xr-xtests/mod-setenv.t9
-rwxr-xr-xtests/mod-ssi.t8
-rwxr-xr-xtests/mod-userdir.t8
-rwxr-xr-xtests/request.t8
-rw-r--r--tests/symlink.t8
24 files changed, 96 insertions, 101 deletions
diff --git a/tests/cachable.t b/tests/cachable.t
index 0d1e1b42..605a68f1 100755
--- a/tests/cachable.t
+++ b/tests/cachable.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/core-404-handler.t b/tests/core-404-handler.t
index b9c5df17..599ade20 100644
--- a/tests/core-404-handler.t
+++ b/tests/core-404-handler.t
@@ -10,10 +10,10 @@
# returning no status -> 200
#
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/core-condition.t b/tests/core-condition.t
index 96b05d87..53919a15 100755
--- a/tests/core-condition.t
+++ b/tests/core-condition.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/core-keepalive.t b/tests/core-keepalive.t
index 8d91b4c0..b4f51f90 100755
--- a/tests/core-keepalive.t
+++ b/tests/core-keepalive.t
@@ -1,10 +1,9 @@
#!/usr/bin/env perl
-
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/core-request.t b/tests/core-request.t
index fc6e25f0..a24777f3 100755
--- a/tests/core-request.t
+++ b/tests/core-request.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/core-response.t b/tests/core-response.t
index c7a158c4..ff2cf1d2 100755
--- a/tests/core-response.t
+++ b/tests/core-response.t
@@ -1,10 +1,9 @@
#!/usr/bin/env perl
-
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/core-var-include.t b/tests/core-var-include.t
index b26790f5..8161751b 100755
--- a/tests/core-var-include.t
+++ b/tests/core-var-include.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/core.t b/tests/core.t
index 6de933cf..b196666a 100755
--- a/tests/core.t
+++ b/tests/core.t
@@ -1,10 +1,9 @@
#!/usr/bin/env perl
-
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/env-variables.t b/tests/env-variables.t
index b18e083d..ee48ee92 100644
--- a/tests/env-variables.t
+++ b/tests/env-variables.t
@@ -1,10 +1,9 @@
#!/usr/bin/perl
-
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/lowercase.t b/tests/lowercase.t
index b9ee8e87..f6f6f2c4 100755
--- a/tests/lowercase.t
+++ b/tests/lowercase.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/mod-access.t b/tests/mod-access.t
index 82275df3..58c01ac7 100755
--- a/tests/mod-access.t
+++ b/tests/mod-access.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/mod-auth.t b/tests/mod-auth.t
index 3c541df7..475a5f6f 100755
--- a/tests/mod-auth.t
+++ b/tests/mod-auth.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/mod-cgi.t b/tests/mod-cgi.t
index b89a1af6..24777cae 100755
--- a/tests/mod-cgi.t
+++ b/tests/mod-cgi.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/mod-compress.t b/tests/mod-compress.t
index f2438325..4fa66dbd 100755
--- a/tests/mod-compress.t
+++ b/tests/mod-compress.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/mod-fastcgi.t b/tests/mod-fastcgi.t
index 2c1dedb5..a01edf8b 100755
--- a/tests/mod-fastcgi.t
+++ b/tests/mod-fastcgi.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/mod-proxy.t b/tests/mod-proxy.t
index a52a6025..9a13ba62 100755
--- a/tests/mod-proxy.t
+++ b/tests/mod-proxy.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/mod-redirect.t b/tests/mod-redirect.t
index 076a4b3d..14669d97 100755
--- a/tests/mod-redirect.t
+++ b/tests/mod-redirect.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/mod-rewrite.t b/tests/mod-rewrite.t
index a1e21930..4de8c107 100755
--- a/tests/mod-rewrite.t
+++ b/tests/mod-rewrite.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/mod-secdownload.t b/tests/mod-secdownload.t
index 4790efe8..571b25bd 100755
--- a/tests/mod-secdownload.t
+++ b/tests/mod-secdownload.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/mod-setenv.t b/tests/mod-setenv.t
index a5c2b7e9..1e563018 100755
--- a/tests/mod-setenv.t
+++ b/tests/mod-setenv.t
@@ -1,10 +1,9 @@
#!/usr/bin/env perl
-
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/mod-ssi.t b/tests/mod-ssi.t
index a6b021b3..d5d69db7 100755
--- a/tests/mod-ssi.t
+++ b/tests/mod-ssi.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/mod-userdir.t b/tests/mod-userdir.t
index 13a8e1bf..40f55efb 100755
--- a/tests/mod-userdir.t
+++ b/tests/mod-userdir.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/request.t b/tests/request.t
index c153b21d..d2c88192 100755
--- a/tests/request.t
+++ b/tests/request.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;
diff --git a/tests/symlink.t b/tests/symlink.t
index fd7b5059..4274fdfe 100644
--- a/tests/symlink.t
+++ b/tests/symlink.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;