summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-25 17:36:18 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-25 18:32:29 +0100
commitada48ca013e77d7e821d326db40bc1a59ba639ea (patch)
tree795d0bcac6795fcf7168e1e60a88186ddba383f4 /tests/lib
parent417bcf4ea06b9e181c39734e121d9a32cf7cbb21 (diff)
Test suite: Introduce tests/list-tests
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%/*}