chiark / gitweb /
test suite: enumerate-tests: gencontrol-add-things: restrictions
[dgit.git] / tests / enumerate-tests
index 506f80dc31afda10ed93abc3517ecb4f08b5beff..f46c598dacdea88ec9a846949c04dc8f09b8524a 100755 (executable)
@@ -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)