]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: iscsitest: split out testISCSIScanTargetsTests
authorJán Tomko <jtomko@redhat.com>
Tue, 28 Jul 2020 18:11:09 +0000 (20:11 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 25 Aug 2020 17:03:12 +0000 (19:03 +0200)
commitaeb59ff576c71e6f5ed2ee73e1ac15de63f56633
tree50b967d72584fb2d15119df8a2e3028cb718cc28
parentc23c7dac9b1b8558fedb428b48a1af3ff4ce5799
tests: iscsitest: split out testISCSIScanTargetsTests

The ScanTargets testing code declares some variables
in the middle of main.

Split it out into a separate function.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/viriscsitest.c