"Fossies" - the Fresh Open Source Software Archive

Member "Apache2-AuthenMSAD-0.02/test.pl" (18 Oct 2005, 717 Bytes) of package /linux/www/apache_httpd_modules/old/Apache2-AuthenMSAD-0.02.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Perl source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 # Before `make install' is performed this script should be runnable with
    2 # `make test'. After `make install' it should work as `perl test.pl'
    3 # $Id: test.pl,v 1.3 2005/10/18 19:34:42 reggers Exp $
    4 ######################### We start with some black magic to print on failure.
    5 
    6 # Change 1..1 below to 1..last_test_to_print .
    7 # (It may become useful if the test is moved to ./t subdirectory.)
    8 
    9 BEGIN { $| = 1; print "1..1\n"; }
   10 END {print "not ok 1\n" unless $loaded;}
   11 use Apache2::AuthenMSAD;
   12 $loaded = 1;
   13 print "ok 1\n";
   14 
   15 ######################### End of black magic.
   16 
   17 # Insert your test code below (better if it prints "ok 13"
   18 # (correspondingly "not ok 13") depending on the success of chunk 13
   19 # of the test code):