/usr/bin/tempest_debian_shell_wrapper is in tempest 1:17.2.0-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #!/bin/sh
set -e
EXCLUDE_FILE=/etc/tempest/exclude.conf
TMP_EXCLUDE=`mktemp -t nose-exclude-XXXXXX`
if [ -r "${EXCLUDE_FILE}" ] ; then
for i in `grep -v -e '^#' -e '^[ \t]*$' ${EXCLUDE_FILE}` ; do
if [ -n "${A}" ] ; then
A="${A}|"'.*'"${i}"'.*'
else
A='.*'${i}'.*'
fi
done
fi
cd /var/lib/tempest
if [ ! -d .testrepository ] ; then
testr init
fi
if [ -z "${1}" ] && [ -n ${A} ] ; then
testr run --parallel --concurrency=2 --subunit '^(?!('"${A}"'))' $@ | subunit-trace
else
testr run --parallel --concurrency=2 --subunit $@ | subunit-trace
fi
#testr run --parallel --subunit $@ | subunit-trace
|