From fb123f93f9f5ce42c8e5785d2f8e0edaf951740e Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 26 Mar 2014 19:21:20 +0000 Subject: Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2. --- src/VBox/Runtime/testcase/tstRTFileGetSize-1.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/VBox/Runtime/testcase/tstRTFileGetSize-1.cpp') 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 -- cgit v1.2.1