VirtualBox

Changeset 100264 in vbox for trunk


Ignore:
Timestamp:
Jun 23, 2023 12:47:37 PM (18 months ago)
Author:
vboxsync
Message:

ValidationKit/tests/api/{Makefile.kmk,tdSnapshots1.py}: Add two new
tests involving nested online snapshots. The first exercises
IMachine::takeSnapshot(), IMachine::findSnapshot()), and
IMachine::restoreSnapshot() to verify that restoring and booting a
nested snapshot doesn't also delete that snapshot. The second exercises
IMachine::unregister() and IMachine::deleteConfig() to verify that
deleting a VM with multiple snapshots does indeed delete the snapshots
as well. These scenarios were both encountered in the past as
regressions and are described in xTracker #10252. bugref:10252.

Location:
trunk/src/VBox/ValidationKit/tests/api
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/api/Makefile.kmk

    r100026 r100264  
    5050        $(PATH_SUB_CURRENT)/tdMoveVm1.py \
    5151        $(PATH_SUB_CURRENT)/tdPython1.py \
     52        $(PATH_SUB_CURRENT)/tdSnapshots1.py \
    5253        $(PATH_SUB_CURRENT)/tdTreeDepth1.py
    5354
  • trunk/src/VBox/ValidationKit/tests/api/tdApi1.py

    r98651 r100264  
    9696    from tdMoveVm1       import SubTstDrvMoveVm1;     # pylint: disable=relative-import
    9797    from tdCloneMedium1  import SubTstDrvCloneMedium1;# pylint: disable=relative-import
     98    from tdSnapshots1    import SubTstDrvNestedSnapshots1;# pylint: disable=relative-import
    9899    sys.exit(tdApi1([SubTstDrvPython1, SubTstDrvAppliance1, SubTstDrvMoveMedium1,
    99                      SubTstDrvTreeDepth1, SubTstDrvMoveVm1, SubTstDrvCloneMedium1]).main(sys.argv))
     100                     SubTstDrvTreeDepth1, SubTstDrvMoveVm1, SubTstDrvCloneMedium1,
     101                     SubTstDrvNestedSnapshots1]).main(sys.argv))
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