From 008d67d77577e61d56449413a6b2e2d59ebb9408 Mon Sep 17 00:00:00 2001 From: Jose Date: Mon, 14 Mar 2011 15:15:02 +0100 Subject: 4800 - add test for environment variable substitution in IceGrid descriptor --- cpp/test/IceGrid/deployer/Server.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpp/test/IceGrid/deployer/Server.cpp') diff --git a/cpp/test/IceGrid/deployer/Server.cpp b/cpp/test/IceGrid/deployer/Server.cpp index a551dd08528..3feaba48004 100644 --- a/cpp/test/IceGrid/deployer/Server.cpp +++ b/cpp/test/IceGrid/deployer/Server.cpp @@ -96,6 +96,9 @@ main(int argc, char* argv[]) test(value4 != 0 && wstring(value4) == L"2"); #endif + char* value5 = getenv("MY_WINDOWS_COMPOSED_VARIABLE"); + test(value5 != 0 && string(value5) == "BAR;12"); + #else char* value2 = getenv("MY_ENV_UNICODE_VARIABLE"); test(value2 !=0 && string(value2) == unicodeVar); @@ -105,6 +108,9 @@ main(int argc, char* argv[]) char* value4 = getenv(varname2.c_str()); test(value4 != 0 && string(value4) == "2"); + + char* value5 = getenv("MY_UNIX_COMPOSED_VARIABLE"); + test(value5 != 0 && string(value5) == "BAR;12"); #endif Server app; -- cgit v1.2.3