summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib b/tests/lib
index e81a62a..d131e7b 100644
--- a/tests/lib
+++ b/tests/lib
@@ -5,6 +5,7 @@ set -x
set -o pipefail
. tests/lib-core
+. tests/lib-restricts
t-set-intree
@@ -596,6 +597,11 @@ t-policy-periodic () {
test-dummy $drs_dispatch '' --cron
}
+t-restrict () {
+ local restriction=$1
+ (cd $root; t-restriction-$restriction >&2)
+}
+
t-chain-test () {
local ct=$1
local d=${0%/*}