VirtualBox

source: vbox/trunk/src/VBox/Storage/testcase/tstVDResize.vd@ 44227

Last change on this file since 44227 was 44227, checked in by vboxsync, 12 years ago

Storage/tstVDIo: Add testcase for resizing VDI images (public bug #11344)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.0 KB
Line 
1# $Id: tstVDResize.vd 44227 2013-01-02 12:15:42Z vboxsync $
2#
3# Storage: Resize testing for VDI.
4#
5
6#
7# Copyright (C) 2013 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18# Init I/O RNG for generating random data for writes
19iorngcreate size=10M mode=manual seed=1234567890
20
21# VDI disk
22print msg=Testing_VDI
23createdisk name=test verify=yes
24create disk=test mode=base name=tst.vdi type=dynamic backend=VDI size=1T
25io disk=test async=no mode=seq blocksize=64k off=255g-257g size=2g writes=100
26resize disk=test size=1331200M
27io disk=test async=no mode=seq blocksize=64k off=255g-257g size=2g writes=0
28destroydisk name=test
29
30iorngdestroy
31
Note: See TracBrowser for help on using the repository browser.

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