[libvirt] [PATCH 7/8] tests: Add return value check in checkUserInfo