From c65ad47a55874571a53e03a422d6be3ab96a4584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 15 Jan 2008 22:03:59 +0000 Subject: [PATCH] - 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 --- tests/cachable.t | 8 ++++---- tests/core-404-handler.t | 8 ++++---- tests/core-condition.t | 8 ++++---- tests/core-keepalive.t | 9 ++++----- tests/core-request.t | 8 ++++---- tests/core-response.t | 9 ++++----- tests/core-var-include.t | 8 ++++---- tests/core.t | 9 ++++----- tests/env-variables.t | 9 ++++----- tests/lowercase.t | 8 ++++---- tests/mod-access.t | 8 ++++---- tests/mod-auth.t | 8 ++++---- tests/mod-cgi.t | 8 ++++---- tests/mod-compress.t | 8 ++++---- tests/mod-fastcgi.t | 8 ++++---- tests/mod-proxy.t | 8 ++++---- tests/mod-redirect.t | 8 ++++---- tests/mod-rewrite.t | 8 ++++---- tests/mod-secdownload.t | 8 ++++---- tests/mod-setenv.t | 9 ++++----- tests/mod-ssi.t | 8 ++++---- tests/mod-userdir.t | 8 ++++---- tests/request.t | 8 ++++---- tests/symlink.t | 8 ++++---- 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;