summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/testcase/tstRTFileGetSize-1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Runtime/testcase/tstRTFileGetSize-1.cpp')
-rw-r--r--src/VBox/Runtime/testcase/tstRTFileGetSize-1.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/VBox/Runtime/testcase/tstRTFileGetSize-1.cpp b/src/VBox/Runtime/testcase/tstRTFileGetSize-1.cpp
index 168a949b..923b5194 100644
--- a/src/VBox/Runtime/testcase/tstRTFileGetSize-1.cpp
+++ b/src/VBox/Runtime/testcase/tstRTFileGetSize-1.cpp
@@ -4,7 +4,7 @@
*/
/*
- * Copyright (C) 2011 Oracle Corporation
+ * Copyright (C) 2011-2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
@@ -60,7 +60,7 @@ static void test1(const char *pszSubTest, const char *pszFilename)
if (RT_SUCCESS(rc))
{
RTTESTI_CHECK(cbFile != UINT64_MAX - 42);
- RTTestIValue(pszFilename, cbFile, RTTESTUNIT_BYTES);
+ RTTestIValue(pszSubTest, cbFile, RTTESTUNIT_BYTES);
}
RTFileClose(hFile);
@@ -85,15 +85,15 @@ int main(int argc, char **argv)
}
#ifdef RT_OS_WINDOWS
- test1("PhysicalDrive0", "//./PhysicalDrive0");
- test1("HarddiskVolume1", "//./HarddiskVolume1");
- test1("null", "//./nul");
+ test1("//./PhysicalDrive0", "//./PhysicalDrive0");
+ test1("//./HarddiskVolume1", "//./HarddiskVolume1");
+ test1("//./null", "//./nul");
#else
- test1("null", "/dev/null");
+ test1("/dev/null", "/dev/null");
# ifdef RT_OS_LINUX
- test1("sda", "/dev/sda");
- test1("sda1", "/dev/sda1");
- test1("sda5", "/dev/sda5");
+ test1("/dev/sda", "/dev/sda");
+ test1("/dev/sda1", "/dev/sda1");
+ test1("/dev/sda5", "/dev/sda5");
# endif
#endif