From 8b675a91cf5bdcfd2156bcfb5852bbf8070e8f42 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 9 Nov 2015 10:37:39 +0100 Subject: [PATCH] tox: add /bin/bash to whitelist_externals Since tox 1.5, commands outside the virtual environment must be explicitly listed in whitelist_externals. Without that, some commands emit the warning: WARNING:test command found but not installed in testenv cmd: /bin/bash env: ... See also the whitelist_externals envconfig setting. Change-Id: Iad1f623defbb32dafb5bad3613cec7a8409e2b2c --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index dae15fba86..bcaf73c47e 100644 --- a/tox.ini +++ b/tox.ini @@ -17,6 +17,7 @@ setenv = VIRTUAL_ENV={envdir} PYTHONHASHSEED=0 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt +whitelist_externals = /bin/bash commands = /bin/bash run_tests.sh -N --no-pep8 {posargs} [testenv:py34]