[otrs-cvs] otrs/scripts/test FileTemp.t,1.2,1.3

cvs-log at otrs.org cvs-log at otrs.org
Wed Apr 11 10:04:47 GMT 2007


Comments:
Update of /home/cvs/otrs/scripts/test
In directory lancelot:/tmp/cvs-serv12368/scripts/test

Modified Files:
	FileTemp.t 
Log Message:
Do the check#3 not on win (because it just gets removed after ending the process).

Author: martin

Index: FileTemp.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/FileTemp.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** FileTemp.t	26 Aug 2006 17:36:26 -0000	1.2
--- FileTemp.t	11 Apr 2007 10:04:42 -0000	1.3
***************
*** 1,5 ****
  # --
  # FileTemp.t - FileTemp tests
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
  # --
  # $Id$
--- 1,5 ----
  # --
  # FileTemp.t - FileTemp tests
! # Copyright (C) 2001-2007 OTRS GmbH, http://otrs.org/
  # --
  # $Id$
***************
*** 28,35 ****
  $Self->{FileTempObject} = undef;
  
! $Self->True(
!     (! -e $Filename),
!     'TempFile() -e after destroy',
! );
  
  1;
--- 28,38 ----
  $Self->{FileTempObject} = undef;
  
! # don't use this check on win (because it just gets removed after ending the process)
! if ($^O !~ /win/) {
!     $Self->True(
!         (! -e $Filename),
!         'TempFile() -e after destroy',
!     );
! }
  
  1;


More information about the cvs-log mailing list