aboutsummaryrefslogtreecommitdiff
blob: 8435f61490347f0dbbb4f61860f54332f9e708ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# only exported things work in test scripts

export abs_top_srcdir abs_top_builddir abs_srcdir abs_builddir
export AWK="@AWK@"

if ! ${at_clean} ; then
	export SB_UID=$(./get-user)
	export SB_GID=$(./get-group)
fi

export at_xfail

# portage likes to do `addpredict /` ... we dont need/want
# that garbage messing up our env
export SANDBOX_PREDICT=${SANDBOX_PREDICT%:/}

if [ "${AUTOTEST_PATH}" = "tests" ] ; then
	AUTOTEST_PATH="src:tests"
fi

export SANDBOX_VERBOSE=0

# If the terminal has this flag set, the tests get all messed up.
stty -tostop 2>/dev/null