winspoool/tests: [1/2] Rename unclear string
Detlef Riekenberg
wine.dev at web.de
Thu Dec 21 17:48:08 CST 2006
using "invalid" in a valid servername, that
only does not exist was a misleading idea.
Changelog:
- winspoool/tests: Rename unclear string
--
By by ... Detlef
-------------- next part --------------
>From e4c98b549f9e175a03cf4d50abf5e8bb1801cefe Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Fri, 22 Dec 2006 00:16:19 +0100
Subject: [PATCH] winspool/tests: Rename unclear string
---
dlls/winspool.drv/tests/info.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/winspool.drv/tests/info.c b/dlls/winspool.drv/tests/info.c
index 433314b..94cf3d2 100644
--- a/dlls/winspool.drv/tests/info.c
+++ b/dlls/winspool.drv/tests/info.c
@@ -32,17 +32,17 @@ #include "winspool.h"
#define MAGIC_DEAD 0xdeadbeef
#define DEFAULT_PRINTER_SIZE 1000
-static CHAR does_not_exist_dll[]= "does_not_exists.dll";
-static CHAR does_not_exist[] = "does_not_exists";
+static CHAR does_not_exist_dll[]= "does_not_exist.dll";
+static CHAR does_not_exist[] = "does_not_exist";
static CHAR empty[] = "";
static CHAR env_x86[] = "Windows NT x86";
static CHAR env_win9x_case[] = "windowS 4.0";
static CHAR illegal_name[] = "illegal,name";
static CHAR invalid_env[] = "invalid_env";
-static CHAR invalid_server[] = "\\invalid_server";
static CHAR portname_com1[] = "COM1:";
static CHAR portname_file[] = "FILE:";
static CHAR portname_lpt1[] = "LPT1:";
+static CHAR server_does_not_exist[] = "\\does_not_exist";
static CHAR version_dll[] = "version.dll";
static CHAR winetest_monitor[] = "winetest";
@@ -1204,7 +1204,7 @@ #endif
/* invalid on all Systems */
buffer[0] = '\0';
SetLastError(0xdeadbeef);
- res = GetPrintProcessorDirectoryA(invalid_server, NULL, 1, buffer, cbBuf*2, &pcbNeeded);
+ res = GetPrintProcessorDirectoryA(server_does_not_exist, NULL, 1, buffer, cbBuf*2, &pcbNeeded);
ok( !res && (GetLastError() == ERROR_INVALID_PARAMETER),
"returned %d with %d (expected '0' with ERROR_INVALID_PARAMETER)\n",
res, GetLastError());
--
1.4.1
More information about the wine-patches
mailing list