Mercurial > hg > mercurial-source
comparison tests/test-check-config.t @ 40493:5abc47d4ca6b
tests: quote PYTHON usage
Python3 defaults to installing under "Program Files".
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 18 Sep 2018 23:47:21 -0400 |
parents | 4441705b7111 |
children |
comparison
equal
deleted
inserted
replaced
40492:030d558c6456 | 40493:5abc47d4ca6b |
---|---|
28 > $TESTTMP/testfile.py | 28 > $TESTTMP/testfile.py |
29 > EOF | 29 > EOF |
30 | 30 |
31 $ cd "$TESTDIR"/.. | 31 $ cd "$TESTDIR"/.. |
32 | 32 |
33 $ $PYTHON contrib/check-config.py < $TESTTMP/files | 33 $ "$PYTHON" contrib/check-config.py < $TESTTMP/files |
34 foo = ui.configint('ui', 'intdefault', default=42) | 34 foo = ui.configint('ui', 'intdefault', default=42) |
35 conflict on ui.intdefault: ('int', '42') != ('int', '1') | 35 conflict on ui.intdefault: ('int', '42') != ('int', '1') |
36 at $TESTTMP/testfile.py:12: | 36 at $TESTTMP/testfile.py:12: |
37 undocumented: ui.doesnotexist (str) | 37 undocumented: ui.doesnotexist (str) |
38 undocumented: ui.intdefault (int) [42] | 38 undocumented: ui.intdefault (int) [42] |
42 undocumented: ui.missingint (int) | 42 undocumented: ui.missingint (int) |
43 | 43 |
44 New errors are not allowed. Warnings are strongly discouraged. | 44 New errors are not allowed. Warnings are strongly discouraged. |
45 | 45 |
46 $ testrepohg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' | | 46 $ testrepohg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' | |
47 > $PYTHON contrib/check-config.py | 47 > "$PYTHON" contrib/check-config.py |