From: Jonathan Rajotte Date: Tue, 31 Oct 2017 19:39:52 +0000 (-0400) Subject: Add utility shell script to launch pytest under a venv X-Git-Url: http://git.efficios.com/?p=deliverable%2Flttng-ivc.git;a=commitdiff_plain;h=042c43734da663fc9da9f85e20b10c4ca9d57375 Add utility shell script to launch pytest under a venv Signed-off-by: Jonathan Rajotte --- diff --git a/lttng_ivc/run_as_sudo.sh b/lttng_ivc/run_as_sudo.sh new file mode 100755 index 0000000..3788438 --- /dev/null +++ b/lttng_ivc/run_as_sudo.sh @@ -0,0 +1,9 @@ +venv_path=$(dirname "$0")/../.venv/bin/activate + +. $venv_path + +$@ + +which python + +