Skip to content

Commit

Permalink
test(backend); expect 3 redirect USBs by default
Browse files Browse the repository at this point in the history
issue #733
  • Loading branch information
frankiejol committed Jun 5, 2018
1 parent c3c319a commit 35e644b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/kvm/22_domain_kvm_base.t
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ sub test_usb {
my ($devices)= $xml->findnodes('/domain/devices');

my @redir = $devices->findnodes('redirdev');
ok(scalar @redir == 1,"Expecting 1 redirdev, got ".scalar(@redir)
my $expect = 3;
ok(scalar @redir == $expect,"Expecting $expect redirdev, got ".scalar(@redir)
." in ".$devices->toString);

for my $model ( 'nec-xhci') {
Expand Down

0 comments on commit 35e644b

Please sign in to comment.