From adc8c80f428de798db664c2a161842184bfbe927 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 4 Nov 2011 20:58:21 +0100 Subject: tests: add build-sys regression test Signed-off-by: Karel Zak --- tests/functions.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/functions.sh') diff --git a/tests/functions.sh b/tests/functions.sh index bc658ba9a..c6567df5a 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -129,7 +129,9 @@ function ts_init_env { declare -a TS_SUID_USER declare -a TS_SUID_GROUP - . $TS_TOPDIR/commands.sh + if [ -f $TS_TOPDIR/commands.sh ]; then + . $TS_TOPDIR/commands.sh + fi export BLKID_FILE -- cgit v1.2.3-55-g7522