Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_ioctl.pyc |
³ò h”Rc @ sA d d k Z d d k l Z l Z d d k Z d d k Z y d d k Z d d k Z Wn e j o e d ƒ ‚ n Xe e d ƒ p e d ƒ ‚ n y e d d ƒ Z e i ƒ Wn e j o e d ƒ ‚ n Xy d d k Z Wn e j o d Z n Xd e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( iÿÿÿÿN( t TestSkippedt run_unittests No fcntl or termios modulet TIOCGPGRPs% termios module doesn't have TIOCGPGRPs /dev/ttyt rs Unable to open /dev/ttyt IoctlTestsc B s# e Z d „ Z d „ Z d „ Z RS( c C s| t i ƒ t i d ƒ f } t d d ƒ } t i | t i d ƒ } t i d | ƒ d } | i | | j d | | f ƒ d S( Ni s /dev/ttyR s t is %s not in %s( t ost getpgrpt getsidt opent fcntlt ioctlt termiosR t structt unpackt assert_( t selft idst ttyR t rpgrp( ( s+ /usr/local/lib/python2.5/test/test_ioctl.pyt test_ioctl s c C s¤ d d k } | i d d g ƒ } t i ƒ t i d ƒ f } t d d ƒ } t i | t i | d ƒ } | d } | i | d ƒ | i | | j d | | f ƒ d S( NiÿÿÿÿR i s /dev/ttyR i s %s not in %s( t arrayR R R R R R R R t assertEqualsR ( R R t bufR R R R ( ( s+ /usr/local/lib/python2.5/test/test_ioctl.pyt test_ioctl_mutate s c C s t p t d ƒ ‚ n t i ƒ \ } } zË t i d j o t i } t i d @} n. t i } t i d t i d t i ƒ ƒ \ } t i | t i d ƒ } t i d d d d d ƒ } t i | | | ƒ } t i | | | ƒ } t i | | | ƒ Wd t i | ƒ t i | ƒ Xd S( Ns pty module requiredi l ÿÿ R t It i t HHHHiP i t ( t ptyR t openptyR t TIOCSWINSZR R t packR R t TIOCGWINSZR t close( R t mfdt sfdt set_winsz_opcode_maybe_negt set_winsz_opcode_post saved_winszt our_winszt new_winsz( ( s+ /usr/local/lib/python2.5/test/test_ioctl.pyt% test_ioctl_signed_unsigned_code_param* s"