403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.217.5
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python27/lib64/python2.7/distutils/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python27/lib64/python2.7/distutils/tests/test_install_scripts.pyc
�
�q2_c@s�dZddlZddlZddlmZddlmZddlmZddl	m
Z
dejejej
fd��YZd	�Zed
kr�e
e��ndS(s,Tests for distutils.command.install_scripts.i����N(tinstall_scripts(tDistribution(tsupport(trun_unittesttInstallScriptsTestCasecBseZd�Zd�ZRS(cCs�t�}tjdd�|jd<tjdddddd�|jd	<t|�}|j|j�|j|j�|j|j	�|j|j
�|j�|j|j�|j|j�|j
|j	d�|j
|j
d�dS(
Nt
build_scriptss/foo/bartbuildRs/splat/funktforceit
skip_buildtinstall(RRtDummyCommandtcommand_objRtassertFalseRRtassertIsNonet	build_dirtinstall_dirtfinalize_optionst
assertTruetassertEqual(tselftdisttcmd((sI/opt/alt/python27/lib64/python2.7/distutils/tests/test_install_scripts.pyttest_default_settingss"			
cs�|j��g���fd�}|dd�|dd�|dd�|j�}t�}tjd��|jd	<tjd
|ddd
d�|jd<t|�}|j�|j�tj	|�}x�D]}|j
||�q�WdS(NcsN�j|�ttjj�|�d�}z|j|�Wd|j�XdS(Ntw(tappendtopentostpathtjointwritetclose(tnamettexttf(texpectedtsource(sI/opt/alt/python27/lib64/python2.7/distutils/tests/test_install_scripts.pytwrite_script+s

s
script1.pys@#! /usr/bin/env python2.3
# bogus script w/ Python sh-bang
pass
s
script2.pys8#!/usr/bin/python
# bogus script w/ Python sh-bang
pass
sshell.shs1#!/bin/sh
# bogus shell script w/ sh-bang
exit 0
RRRRiRR	(tmkdtempRRR
RRRtrunRtlistdirtassertIn(RR$ttargetRRt	installedR((R"R#sI/opt/alt/python27/lib64/python2.7/distutils/tests/test_install_scripts.pyttest_installation's&


		


(t__name__t
__module__RR+(((sI/opt/alt/python27/lib64/python2.7/distutils/tests/test_install_scripts.pyR
s	cCs
tjt�S(N(tunittestt	makeSuiteR(((sI/opt/alt/python27/lib64/python2.7/distutils/tests/test_install_scripts.pyt
test_suiteNst__main__(t__doc__RR.t!distutils.command.install_scriptsRtdistutils.coreRtdistutils.testsRttest.test_supportRtTempdirManagertLoggingSilencertTestCaseRR0R,(((sI/opt/alt/python27/lib64/python2.7/distutils/tests/test_install_scripts.pyt<module>s	?	

Youez - 2016 - github.com/yon3zu
LinuXploit