equal
deleted
inserted
replaced
2034 Failed test-conditional-matching.t#bar: output changed |
2034 Failed test-conditional-matching.t#bar: output changed |
2035 Failed test-conditional-matching.t#foo: output changed |
2035 Failed test-conditional-matching.t#foo: output changed |
2036 # Ran 2 tests, 0 skipped, 2 failed. |
2036 # Ran 2 tests, 0 skipped, 2 failed. |
2037 python hash seed: * (glob) |
2037 python hash seed: * (glob) |
2038 [1] |
2038 [1] |
|
2039 |
|
2040 Test that a proper "python" has been set up |
|
2041 =========================================== |
|
2042 |
|
2043 (with a small check-code work around) |
|
2044 $ printf "#!/usr/bi" > test-py3.tmp |
|
2045 $ printf "n/en" >> test-py3.tmp |
|
2046 $ cat << EOF >> test-py3.tmp |
|
2047 > v python3 |
|
2048 > import sys |
|
2049 > print('.'.join(str(x) for x in sys.version_info)) |
|
2050 > EOF |
|
2051 $ mv test-py3.tmp test-py3.py |
|
2052 $ chmod +x test-py3.py |
|
2053 |
|
2054 (with a small check-code work around) |
|
2055 $ printf "#!/usr/bi" > test-py.tmp |
|
2056 $ printf "n/en" >> test-py.tmp |
|
2057 $ cat << EOF >> test-py.tmp |
|
2058 > v python |
|
2059 > import sys |
|
2060 > print('.'.join(str(x) for x in sys.version_info)) |
|
2061 > EOF |
|
2062 $ mv test-py.tmp test-py.py |
|
2063 $ chmod +x test-py.py |
|
2064 |
|
2065 $ ./test-py3.py |
|
2066 3.* (glob) |
|
2067 $ ./test-py.py |
|
2068 2.* (glob) (no-py3 !) |
|
2069 3.* (glob) (py3 !) |