Changeset 394

Show
Ignore:
Timestamp:
06/26/2005 10:27:41 AM (3 years ago)
Author:
jan
Message:

switch to LigtyTest? module

Location:
branches/lighttpd-1.3.x/tests
Files:
15 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.3.x/tests/LightyTest.pm

    r388 r394  
    7272        system($self->{LIGHTTPD_PATH}." -f /tmp/cfg.file"); 
    7373        # system("valgrind --tool=memcheck --show-reachable=yes --leak-check=yes --logfile=foo ".$lighttpd_path." -D -f /tmp/cfg.file &"); 
    74  
    75         sleep(1); 
     74        # 
     75         
     76        select(undef, undef, undef, 0.1); 
     77 
     78        # sleep(1); 
    7679 
    7780        unlink("/tmp/cfg.file"); 
  • branches/lighttpd-1.3.x/tests/Makefile.am

    r99 r394  
    1313 
    1414TESTS=\ 
    15 prepare.sh \ 
    16 run-tests.pl \ 
    17 cleanup.sh 
     15        prepare.sh \ 
     16        run-tests.pl \ 
     17        cleanup.sh 
    1818 
    1919CONFS=fastcgi-10.conf \ 
     
    3434      mod-userdir.t \ 
    3535      mod-rewrite.t \ 
    36       request.t  
     36      request.t \ 
     37      LightyTest.pm 
    3738 
    3839 
    39 TESTS_ENVIRONMENT=$(srcdir)/wrapper.sh $(srcdir) $(top_builddir) 
     40TESTS_ENVIRONMENT=$(srcdir)/wrapper.sh $(srcdir) $(top_builddir)  
    4041 
    4142EXTRA_DIST=wrapper.sh lighttpd.conf \ 
     
    4344        $(CONFS) \ 
    4445        $(TESTS) 
     46 
    4547SUBDIRS=docroot 
    4648 
  • branches/lighttpd-1.3.x/tests/core-request.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2BEGIN { 
     3    # add current source dir to the include-path 
     4    # we need this for make distcheck 
     5   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     6   unshift @INC, $srcdir; 
     7} 
    28 
    39use strict; 
  • branches/lighttpd-1.3.x/tests/core-response.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2 
     3BEGIN { 
     4    # add current source dir to the include-path 
     5    # we need this for make distcheck 
     6   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     7   unshift @INC, $srcdir; 
     8} 
    29 
    310use strict; 
  • branches/lighttpd-1.3.x/tests/core.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2 
     3BEGIN { 
     4    # add current source dir to the include-path 
     5    # we need this for make distcheck 
     6   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     7   unshift @INC, $srcdir; 
     8} 
    29 
    310use strict; 
  • branches/lighttpd-1.3.x/tests/mod-access.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2BEGIN { 
     3    # add current source dir to the include-path 
     4    # we need this for make distcheck 
     5   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     6   unshift @INC, $srcdir; 
     7} 
    28 
    39use strict; 
  • branches/lighttpd-1.3.x/tests/mod-auth.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2BEGIN { 
     3    # add current source dir to the include-path 
     4    # we need this for make distcheck 
     5   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     6   unshift @INC, $srcdir; 
     7} 
    28 
    39use strict; 
  • branches/lighttpd-1.3.x/tests/mod-cgi.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2BEGIN { 
     3    # add current source dir to the include-path 
     4    # we need this for make distcheck 
     5   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     6   unshift @INC, $srcdir; 
     7} 
    28 
    39use strict; 
  • branches/lighttpd-1.3.x/tests/mod-compress.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2BEGIN { 
     3    # add current source dir to the include-path 
     4    # we need this for make distcheck 
     5   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     6   unshift @INC, $srcdir; 
     7} 
    28 
    39use strict; 
  • branches/lighttpd-1.3.x/tests/mod-fastcgi.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2BEGIN { 
     3    # add current source dir to the include-path 
     4    # we need this for make distcheck 
     5   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     6   unshift @INC, $srcdir; 
     7} 
    28 
    39use strict; 
  • branches/lighttpd-1.3.x/tests/mod-proxy.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2BEGIN { 
     3    # add current source dir to the include-path 
     4    # we need this for make distcheck 
     5   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     6   unshift @INC, $srcdir; 
     7} 
    28 
    39use strict; 
  • branches/lighttpd-1.3.x/tests/mod-redirect.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2BEGIN { 
     3    # add current source dir to the include-path 
     4    # we need this for make distcheck 
     5   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     6   unshift @INC, $srcdir; 
     7} 
    28 
    39use strict; 
  • branches/lighttpd-1.3.x/tests/mod-rewrite.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2BEGIN { 
     3    # add current source dir to the include-path 
     4    # we need this for make distcheck 
     5   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     6   unshift @INC, $srcdir; 
     7} 
    28 
    39use strict; 
  • branches/lighttpd-1.3.x/tests/mod-userdir.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2BEGIN { 
     3    # add current source dir to the include-path 
     4    # we need this for make distcheck 
     5   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     6   unshift @INC, $srcdir; 
     7} 
    28 
    39use strict; 
  • branches/lighttpd-1.3.x/tests/request.t

    r388 r394  
    11#! /usr/bin/perl -w 
     2BEGIN { 
     3    # add current source dir to the include-path 
     4    # we need this for make distcheck 
     5   (my $srcdir = $0) =~ s#/[^/]+$#/#; 
     6   unshift @INC, $srcdir; 
     7} 
    28 
    39use strict;