VirtualBox

Ignore:
Timestamp:
Jun 16, 2008 5:20:49 PM (17 years ago)
Author:
vboxsync
Message:

Extended the interface with backends to support time stamps and parent's filename.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/testcase/tstVD.cpp

    r9528 r9734  
    4242{
    4343    g_cErrors++;
    44     RTPrintf("tstVD: Error %Vrc at %s:%u (%s): ");
     44    RTPrintf("tstVD: Error %Vrc at %s:%u (%s): ", rc, RT_SRC_POS_ARGS);
    4545    RTPrintfV(pszFormat, va);
    4646    RTPrintf("\n");
     
    476476    generateRandomSegments(&ctx, paDiffSegments, nSegments, _1M, u64DiskSize, u32SectorSize, 128u, 255u);
    477477
    478     PSEGMENT pSegment;
    479     /*RTPrintf("Base segments:\n");
     478    /*PSEGMENT pSegment;
     479    RTPrintf("Base segments:\n");
    480480    for (pSegment = paBaseSegments; pSegment->u32Length; pSegment++)
    481481        RTPrintf("off: %08Lx len: %05x val: %02x\n", pSegment->u64Offset, pSegment->u32Length, pSegment->u8Value);*/
     
    583583    return 0;
    584584}
     585
    585586
    586587int main(int argc, char *argv[])
     
    703704        g_cErrors++;
    704705    }
     706#endif
    705707
    706708    rc = tstVDCreateWriteOpenRead("VHD", "tmpVDCreate.vhd", u32Seed);
     
    710712        g_cErrors++;
    711713    }
    712 #endif
    713714
    714715    rc = tstVDOpenCreateWriteMerge("VHD", "tmpVDBase.vhd", "tmpVDDiff.vhd", u32Seed);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette