+
+ my $m = {};
+ for my $pfx (qw(/t1 /t2), '') {
+ $res = $cb->(GET($pfx.'/manifest.js.gz'));
+ gunzip(\($res->content) => \(my $js));
+ $m->{$pfx} = json_utf8->decode($js);
+ }
+ is_deeply([sort keys %{$m->{''}}],
+ [ sort(keys %{$m->{'/t1'}}, keys %{$m->{'/t2'}}) ],
+ 't1 + t2 = all');
+ is_deeply([ sort keys %{$m->{'/t2'}} ], [ '/t2/git/0.git' ],
+ 't2 manifest');
+ is_deeply([ sort keys %{$m->{'/t1'}} ], [ '/t1' ],
+ 't2 manifest');