koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/t/webscripts catalog.t,1.1.2.3,1.1.2.4 circulation.


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha/t/webscripts catalog.t,1.1.2.3,1.1.2.4 circulation.t,1.1.2.2,1.1.2.3
Date: Tue, 29 Oct 2002 12:05:48 -0800

Update of /cvsroot/koha/koha/t/webscripts
In directory usw-pr-cvs1:/tmp/cvs-serv15293

Modified Files:
      Tag: rel-1-2
        catalog.t circulation.t 
Log Message:
Added check for environment variable 'nonproductioneserver' before running
these tests.


Index: catalog.t
===================================================================
RCS file: /cvsroot/koha/koha/t/webscripts/Attic/catalog.t,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -r1.1.2.3 -r1.1.2.4
*** catalog.t   29 Oct 2002 19:26:27 -0000      1.1.2.3
--- catalog.t   29 Oct 2002 20:05:44 -0000      1.1.2.4
***************
*** 1,3 ****
! BEGIN { $| = 1; print "1..28\n";
      $::intranetdir=`grep intranetdir /etc/koha.conf`;
      chomp $::intranetdir;
--- 1,9 ----
! BEGIN { 
!     unless ($ENV{'nonproductionserver'}) {
!       print "1..0 # Skipped: environment variable 'nonproductionserver' not 
set\n";
!       exit;
!     }
!     
!     $| = 1; print "1..28\n";
      $::intranetdir=`grep intranetdir /etc/koha.conf`;
      chomp $::intranetdir;
***************
*** 6,9 ****
--- 12,17 ----
  
  END {print "not ok 1 test script load\n" unless $loaded;}
+ 
+ 
  
  use lib $::intranetdir."/modules";

Index: circulation.t
===================================================================
RCS file: /cvsroot/koha/koha/t/webscripts/Attic/circulation.t,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** circulation.t       29 Oct 2002 19:59:05 -0000      1.1.2.2
--- circulation.t       29 Oct 2002 20:05:45 -0000      1.1.2.3
***************
*** 1,3 ****
! BEGIN { $| = 1; print "1..10\n";
      $::intranetdir=`grep intranetdir /etc/koha.conf`;
      chomp $::intranetdir;
--- 1,9 ----
! BEGIN { 
!     unless ($ENV{'nonproductionserver'}) {
!       print "1..0 # Skipped: environment variable 'nonproductionserver' not 
set\n";
!       exit;
!     }
! 
!     $| = 1; print "1..10\n";
      $::intranetdir=`grep intranetdir /etc/koha.conf`;
      chomp $::intranetdir;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]