]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Run run-tests.py as root from run-all.sh
authorJouni Malinen <j@w1.fi>
Wed, 22 Oct 2014 07:50:57 +0000 (10:50 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 22 Oct 2014 07:50:57 +0000 (10:50 +0300)
commit9b2c227216c934e8422f28ab60309ad08e3c98b0
treefbd4b7c13a4b991ee77abd4ab697f9f1807419e6
parent81ea400d371020b3d05ac490e1ecd267fefd02e2
tests: Run run-tests.py as root from run-all.sh

This will be needed to be able to control dynamic mac80211_hwsim
operations like adding and removing a phy. In the past, it has been
possible to start the main programs as root and then use non-root
account for run-tests.py. However, there is already a large number of
cases within the test scripts where sudo is needed. Moving that
requirement to execution of run-tests.py allows those to be simplified
as well.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/run-all.sh