D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
usr
/
share
/
doc
/
python3-pycurl
/
tests
/
ext
/
Filename :
test-suite.sh
back
Copy
# dir=$(dirname "$0") export PATH="$(pwd)/tests/bin":$PATH . "$dir"/test-lib.sh setup desc 'setup.py without arguments' fails 'python setup.py' succeeds 'python setup.py 2>&1 |grep "usage: setup.py"' desc 'setup.py --help' succeeds 'python setup.py --help' # .* = Unix|Windows succeeds 'python setup.py --help |grep "PycURL .* options:"' # distutils help succeeds 'python setup.py --help |grep "Common commands:"' desc 'setup.py --help with bogus --curl-config' succeeds 'python setup.py --help --curl-config=/dev/null' succeeds 'python setup.py --help --curl-config=/dev/null |grep "PycURL .* options:"' # this checks that --curl-config is consumed prior to # distutils processing --help fails 'python setup.py --help --curl-config=/dev/null 2>&1 |grep "option .* not recognized"'
Name
Size
Last Modified
Owner
Permissions
Actions
test-lib.sh
1.976
KB
August 30 2017 1:46:03
root
0644
test-suite.sh
0.771
KB
December 03 2017 7:03:03
root
0755
2017 © D7net | D704T team