summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
authorKarel Zak2011-11-04 20:58:21 +0100
committerKarel Zak2011-11-04 20:58:21 +0100
commitadc8c80f428de798db664c2a161842184bfbe927 (patch)
treeaeb9bad11fe5363d91878585a35f76a321aba10a /tests/functions.sh
parentbuild-sys: remove redundant flags from mount/Makefile.am (diff)
downloadkernel-qcow2-util-linux-adc8c80f428de798db664c2a161842184bfbe927.tar.gz
kernel-qcow2-util-linux-adc8c80f428de798db664c2a161842184bfbe927.tar.xz
kernel-qcow2-util-linux-adc8c80f428de798db664c2a161842184bfbe927.zip
tests: add build-sys regression test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/functions.sh')
-rw-r--r--tests/functions.sh4
1 files changed, 3 insertions, 1 deletions
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