summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-08-10 23:54:09 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-08-10 23:54:09 +0100
commit70509cc2230ab22a539cc26ca8e81e7e48929a34 (patch)
tree0826bceb15378fee68379d5ed1f7985ebad93f97 /tests
parentaac7e87787e258c95774c628aa411eb7bb64a3c3 (diff)
test suite: enumerate-tests: gencontrol-add-things: restrictions
No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/enumerate-tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/enumerate-tests b/tests/enumerate-tests
index 506f80d..f46c598 100755
--- a/tests/enumerate-tests
+++ b/tests/enumerate-tests
@@ -61,7 +61,7 @@ gencontrol-add-things () {
restriction-gencontrol () {
if [ $r = x-dgit-out-of-tree-only ]; then return; fi
- restrictions+=" $r"
+ gencontrol-add-things restrictions '' "$r"
}
gencontrol-add-deps () {
@@ -98,7 +98,7 @@ test-done-gencontrol () {
}
'
case "$restrictions" in
- ?*) echo "Restrictions:$restrictions" ;;
+ ?*) echo "Restrictions: $restrictions" ;;
esac
)
key=$(printf "%s" "$stanza" | sha256sum)