Your IP : 3.144.99.39
3
��X( � @ sZ d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZmZm Z m
Z
mZmZm
Z
mZmZmZmZmZmZmZmZ d dlZejdd� �Zejdd� �Zdd� Zd d
� Zdd� Zd
d� Zdd� Zdd� Zdd� Z dd� Z!dd� Z"dd� Z#dd� Z$dd� Z%dd � Z&d!d"� Z'd#d$� Z(d%d&� Z)d'd(� Z*d)d*� Z+d+d,� Z,e j-d2k�rBe.Z/ne0Z/d.d/� Z1d0d1� Z2dS )3� N)�booted�is_fifo�_is_fifo� is_socket�
_is_socket�is_socket_inet�_is_socket_inet�is_socket_unix�_is_socket_unix�is_socket_sockaddr�_is_socket_sockaddr�is_mq�_is_mq�
listen_fds�notifyc c sH y
d V W n8 t k
rB } z| jtjkr0tj� � W Y d d } ~ X nX d S )N)�OSError�errnoZENOSYS�pytest�skip)�e� r �#/usr/lib64/python3.6/test_daemon.py�skip_enosys s
r c c s4 t j| �}z
|V W d |d j� |d j� X d S )Nr � )�socketZ
socketpair�close)Zfamily�pairr r r �closing_socketpair s
r c C s* t jjd�rt� s&t�nt� dks&t�d S )Nz/run/systemd/systemFT> FT)�os�path�existsr �AssertionErrorr r r r �test_booted&