chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test suite: Introduce tests/list-tests
[dgit.git]
/
tests
/
lib
diff --git
a/tests/lib
b/tests/lib
index e81a62ad3dd381f438c39d2435e64280db39eba6..d131e7b2a8dc4a6328a32d8cb1016135a896ba58 100644
(file)
--- 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%/*}