diff options
Diffstat (limited to 'tests/lib-restricts')
-rw-r--r-- | tests/lib-restricts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib-restricts b/tests/lib-restricts index bb695c4..dfaaa25 100644 --- a/tests/lib-restricts +++ b/tests/lib-restricts @@ -13,6 +13,8 @@ t-restriction-x-dgit-git-only () { } t-restriction-x-dgit-schroot-build () { + # if DGIT_SCHROOT_CHROOT is set, user wants not to skip this test + if [ "x${DGIT_SCHROOT_CHROOT}" != x ]; then return 0; fi schroot -l -c build 2>&1 >/dev/null || return 1 } |