HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Initial Version and Version 1 of PythonRegressionTests_pty


Ignore:
Timestamp:
01/30/09 22:04:30 (6 years ago)
Author:
scottmc
Comment:

test_pty output

Legend:

Unmodified
Added
Removed
Modified
  • PythonRegressionTests_pty

    v1 v1  
     1~/develop/python/Lib/test> python test_pty.py 
     2{{{ 
     3test_basic (__main__.PtyTest) ... Calling master_open() 
     4Got master_fd '3', slave_name '/dev/tt/p3' 
     5Calling slave_open('/dev/tt/p3') 
     6ERROR 
     7test_fork (__main__.PtyTest) ... calling pty.fork() 
     8Waiting for child (2043) to finish. 
     9In child, calling os.setsid() 
     10Good: OSError was raised. 
     11FAIL 
     12 
     13====================================================================== 
     14ERROR: test_basic (__main__.PtyTest) 
     15---------------------------------------------------------------------- 
     16Traceback (most recent call last): 
     17  File "test_pty.py", line 72, in test_basic 
     18    raise TestSkipped, "Pseudo-terminals (seemingly) not functional." 
     19TestSkipped: Pseudo-terminals (seemingly) not functional. 
     20 
     21====================================================================== 
     22FAIL: test_fork (__main__.PtyTest) 
     23---------------------------------------------------------------------- 
     24Traceback (most recent call last): 
     25  File "test_pty.py", line 155, in test_fork 
     26    data = os.read(master_fd, 80) 
     27  File "test_pty.py", line 59, in handle_sig 
     28    self.fail("isatty hung") 
     29AssertionError: isatty hung 
     30 
     31---------------------------------------------------------------------- 
     32Ran 2 tests in 10.002s 
     33 
     34FAILED (failures=1, errors=1) 
     35Traceback (most recent call last): 
     36  File "test_pty.py", line 196, in <module> 
     37    test_main() 
     38  File "test_pty.py", line 193, in test_main 
     39    run_unittest(PtyTest) 
     40  File "/boot/common/lib/python2.7/test/test_support.py", line 722, in run_unittest 
     41    _run_suite(suite) 
     42  File "/boot/common/lib/python2.7/test/test_support.py", line 705, in _run_suite 
     43    raise TestFailed(err) 
     44test.test_support.TestFailed: errors occurred; run in verbose mode for details 
     45~/develop/python/Lib/test>  
     46}}} 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/