• J
    tests: do not overwrite return value when filling qemuCapsCache · d0cc8b10
    Ján Tomko 提交于
    In qemuHotplugCreateObjects, the ret variable was filled by
    the value returned by qemuTestCapsCacheInsert.
    
    If any of the functions after this assignment failed, we would still
    return success.
    
    Also adjust testCompareXMLToArgvHelper, where this change is just
    cosmetic, because the value was overwritten right away.
    d0cc8b10
qemuxml2argvtest.c 73.4 KB