VirtualBox

Changeset 39030 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Oct 19, 2011 10:58:43 AM (13 years ago)
Author:
vboxsync
Message:

RTFileGetSize/posix: Make it figure the size of a volume/disk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTFileGetSize-1.cpp

    r39028 r39030  
    4747    {
    4848        if (   rc == VERR_ACCESS_DENIED
    49             || rc == VERR_PERMISSION_DENIED)
     49            || rc == VERR_PERMISSION_DENIED
     50            || rc == VERR_FILE_NOT_FOUND)
    5051        {
    5152            RTTestIPrintf(RTTESTLVL_ALWAYS, "Cannot access '%s', skipping.", pszFilename);
     
    8990    test1("null", "//./nul");
    9091#else
     92    test1("null", "/dev/null");
     93# ifdef RT_OS_LINUX
     94    test1("sda", "/dev/sda");
     95    test1("sda1", "/dev/sda1");
     96    test1("sda5", "/dev/sda5");
     97# endif
    9198#endif
    9299
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