summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/testcase/tstUtf8.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2013-03-30 20:34:52 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2013-03-30 20:34:52 +0000
commitbb0eb0aaf12028bf6c29ddb2e2c82da2f5f340a9 (patch)
tree8d29a56ed70e11bec5acd1fe3949159bfd16fb62 /src/VBox/Runtime/testcase/tstUtf8.cpp
parente1a083858bdc3a056dbde18f542d39154c5344fc (diff)
downloadVirtualBox-svn-bb0eb0aaf12028bf6c29ddb2e2c82da2f5f340a9.tar.gz
tstUtf8: More details on VERR_NO_TRANSLATION/RTStrUtf8ToCurrentCP on testboxsh1.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@45257 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Runtime/testcase/tstUtf8.cpp')
-rw-r--r--src/VBox/Runtime/testcase/tstUtf8.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/VBox/Runtime/testcase/tstUtf8.cpp b/src/VBox/Runtime/testcase/tstUtf8.cpp
index 1bfe604e707..dec4df06cb0 100644
--- a/src/VBox/Runtime/testcase/tstUtf8.cpp
+++ b/src/VBox/Runtime/testcase/tstUtf8.cpp
@@ -4,7 +4,7 @@
*/
/*
- * Copyright (C) 2006-2012 Oracle Corporation
+ * Copyright (C) 2006-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
@@ -29,15 +29,16 @@
*******************************************************************************/
#include <iprt/string.h>
-#include <iprt/uni.h>
-#include <iprt/uuid.h>
-#include <iprt/time.h>
-#include <iprt/stream.h>
#include <iprt/alloc.h>
#include <iprt/assert.h>
+#include <iprt/env.h>
#include <iprt/err.h>
#include <iprt/rand.h>
+#include <iprt/stream.h>
#include <iprt/test.h>
+#include <iprt/time.h>
+#include <iprt/uni.h>
+#include <iprt/uuid.h>
@@ -1398,7 +1399,8 @@ static void testNoTransation(RTTEST hTest)
if (RT_SUCCESS(rc))
{
RTTESTI_CHECK(!strcmp(pszOut, pszTest1));
- RTTestIPrintf(RTTESTLVL_ALWAYS, "CurrentCP is UTF-8 or similar\n");
+ RTTestIPrintf(RTTESTLVL_ALWAYS, "CurrentCP is UTF-8 or similar (LC_ALL=%s LANG=%s LC_CTYPE=%s)\n",
+ RTEnvGet("LC_ALL"), RTEnvGet("LANG"), RTEnvGet("LC_CTYPE"));
RTStrFree(pszOut);
}
else