Update of /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2368/tests/BugTracker/Tests

Modified Files:
      Tag: XQFT
        port_busy.SF-1809586.py 
Log Message:
propagated changes of Saturday Nov 28 2009
from the development trunk to the XQFT branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/11/28 - stmane: tests/BugTracker/Tests/port_busy.SF-1809586.py,1.5
  propagated changes of Wednesday Nov 25 2009 - Saturday Nov 28 2009
  from the Nov2009 branch to the development trunk
  
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2009/11/25 - stmane: tests/BugTracker/Tests/port_busy.SF-1809586.py,1.2.6.3
  
    slightly extended test and approved stable output for
    ID: 1809586 "PF: busy port crashes Mserver"
    
https://sourceforge.net/tracker/?func=detail&aid=1809586&group_id=56967&atid=482468
    and added extra Mfilter rule to cope with variable output
    due to changing port numbers.
  
    We accept the fact that starting a MonetDB/XQury server (`Mserver 
--dbinit="module(pathfinder);"`)
    quits instantly (with a proper error message)
    in case either the MAPIPORT or the XQUERYPORT are not available
    (the server does not make much sense without access to these ports).
    The default ports can easily be overwritten on the server commandline:
    --set mapi_port=<portno> --set xrpc_port=<portno>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: port_busy.SF-1809586.py
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/tests/BugTracker/Tests/port_busy.SF-1809586.py,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- port_busy.SF-1809586.py     16 Oct 2009 08:43:40 -0000      1.4
+++ port_busy.SF-1809586.py     28 Nov 2009 20:28:34 -0000      1.4.2.1
@@ -2,6 +2,8 @@
 from MonetDBtesting import process
 
 def prog(dbinit, input):
+    sys.stdout.write("%s\n" % dbinit)
+    sys.stderr.write("%s\n" % dbinit)
     srv = process.server('mil', dbinit = dbinit,
                         stdin = process.PIPE,
                         stdout = process.PIPE,
@@ -14,6 +16,8 @@
     mserver = os.getenv('MSERVER')
 
     # test mapi and pathfinder modules with MAPIPORT busy
+    sys.stdout.write("MAPIPORT\n")
+    sys.stderr.write("MAPIPORT\n")
     port = int(os.getenv('MAPIPORT', '50000'))
     s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
     s.bind(('', port))
@@ -22,6 +26,8 @@
     s.close()
 
     # test mapi and pathfinder modules with XRPCPORT busy
+    sys.stdout.write("XRPCPORT\n")
+    sys.stderr.write("XRPCPORT\n")
     port = int(os.getenv('XRPCPORT', '50001'))
     s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
     s.bind(('', port))


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to