Module: wine Branch: master Commit: 9721edf5c1ddee445ed153dcdb7faba747a85389 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9721edf5c1ddee445ed153dcdb...
Author: Detlef Riekenberg wine.dev@web.de Date: Fri Dec 22 00:47:57 2006 +0100
localspl/tests: Rename unclear string.
---
dlls/localspl/tests/localmon.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/localspl/tests/localmon.c b/dlls/localspl/tests/localmon.c index 4ca6644..5aecda6 100644 --- a/dlls/localspl/tests/localmon.c +++ b/dlls/localspl/tests/localmon.c @@ -62,7 +62,6 @@ static WCHAR cmd_MonitorUIW[] = {'M','o' static WCHAR cmd_MonitorUI_lcaseW[] = {'m','o','n','i','t','o','r','u','i',0}; static WCHAR does_not_existW[] = {'d','o','e','s','_','n','o','t','_','e','x','i','s','t',0}; static WCHAR emptyW[] = {0}; -static WCHAR invalid_serverW[] = {'\','\','i','n','v','a','l','i','d','_','s','e','r','v','e','r',0}; static WCHAR Monitors_LocalPortW[] = { \ 'S','y','s','t','e','m','\', 'C','u','r','r','e','n','t','C','o','n','t','r','o','l','S','e','t','\', @@ -75,6 +74,8 @@ static WCHAR portname_com1W[] = {'C','O' static WCHAR portname_fileW[] = {'F','I','L','E',':',0}; static WCHAR portname_lpt1W[] = {'L','P','T','1',':',0};
+static WCHAR server_does_not_existW[] = {'\','\','d','o','e','s','_','n','o','t','_','e','x','i','s','t',0}; + /* ########################### */
static void test_AddPort(void) @@ -261,7 +262,7 @@ static void test_EnumPorts(void) pcbNeeded = 0xdeadbeef; pcReturned = 0xdeadbeef; SetLastError(0xdeadbeef); - res = pEnumPorts(invalid_serverW, level, buffer, cbBuf+1, &pcbNeeded, &pcReturned); + res = pEnumPorts(server_does_not_existW, level, buffer, cbBuf+1, &pcbNeeded, &pcReturned); ok( res, "(%d) returned %d with %d and %d, %d (expected '!= 0')\n", level, res, GetLastError(), pcbNeeded, pcReturned);