[otrs-cvs] otrs/scripts/test/GenericInterface/Event Handler.t, 1.9.2.2, 1.9.2.3

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/scripts/test/GenericInterface/Event
In directory lancelot:/tmp/cvs-serv7814/scripts/test/GenericInterface/Event

Modified Files:
      Tag: rel-3_1
	Handler.t 
Log Message:
Added option to force stop Scheduler if it was not running at the beginning of the test.

Author: cr

Index: Handler.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/GenericInterface/Event/Handler.t,v
retrieving revision 1.9.2.2
retrieving revision 1.9.2.3
diff -2 -u -d -r1.9.2.2 -r1.9.2.3
--- Handler.t	9 Dec 2012 04:29:10 -0000	1.9.2.2
+++ Handler.t	12 Dec 2012 05:34:09 -0000	1.9.2.3
@@ -474,5 +474,5 @@
 # stop scheduler if it was not already running before this test
 if ( $PreviousSchedulerStatus =~ /^not running/i ) {
-    my $Result = system("$Scheduler -a stop");
+    my $Result = system("$Scheduler -a stop -f 1");
     $Self->Is(
         $Result,
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.