diff options
-rwxr-xr-x | dgit | 2 | ||||
-rwxr-xr-x | tests/tests/multisuite | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -1010,6 +1010,8 @@ our %rmad; sub archive_query ($;@) { my ($method) = shift @_; + fail "this operation does not support multiple comma-separated suites" + if $isuite =~ m/,/; my $query = access_cfg('archive-query','RETURN-UNDEF'); $query =~ s/^(\w+):// or badcfg "invalid archive-query method \`$query'"; my $proto = $1; diff --git a/tests/tests/multisuite b/tests/tests/multisuite index 01585f6..0a580be 100755 --- a/tests/tests/multisuite +++ b/tests/tests/multisuite @@ -38,6 +38,10 @@ cd $p.clone multi-good +t-commit bogus 3.0 stable,unstable +t-expect-fail "does not support multiple" \ +t-dgit -wgf build + cd .. t-dgit clone --no-rm-on-error $p stable ./$p.pull |