VirtualBox

Changeset 104769 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 24, 2024 9:28:48 AM (6 months ago)
Author:
vboxsync
Message:

ValidationKit/tests/storage/tdStorageBenchmark1: Don't print cbPool if no size is set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/storage/tdStorageBenchmark1.py

    r103857 r104769  
    850850
    851851        if not fRc:
    852             reporter.error('Failed to prepare host storage (fRamDisk=%s, cbPool=%d)' % (fRamDisk, cbPool,));
     852            if cbPool is None:
     853                reporter.error('Failed to prepare host storage (fRamDisk=%s)' % (fRamDisk,));
     854            else:
     855                reporter.error('Failed to prepare host storage (fRamDisk=%s, cbPool=%d)' % (fRamDisk, cbPool,));
    853856        return sMountPoint;
    854857
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