]> xenbits.xensource.com Git - libvirt.git/commit
viriscsitest: Extend virISCSIConnectionLogin test
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 4 Jul 2018 08:41:54 +0000 (10:41 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 25 Jul 2018 05:11:13 +0000 (07:11 +0200)
commit149f0c4e00f738a0a444325db9e2e81979256d65
treebaec4dcc2f02f3466e468b72aea24118a95bfd87
parent9c2ccd64c9eba50015472569abeb7d3519978307
viriscsitest: Extend virISCSIConnectionLogin test

Extend this existing test so that a case when IQN is provided is
tested too. Since a special iSCSI interface is created and its
name is randomly generated at runtime we need to link with
virrandommock to have predictable names.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tests/viriscsitest.c