From 387f050f681f2a9397d599fb68940a77f609b3db Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Wed, 17 Feb 2010 10:59:18 +0100 Subject: [PATCH] winspool.drv/tests: Fix a test failure on Win9x/WinMe. --- dlls/winspool.drv/tests/info.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/winspool.drv/tests/info.c b/dlls/winspool.drv/tests/info.c index 7739a2b714c..1b552fe1857 100644 --- a/dlls/winspool.drv/tests/info.c +++ b/dlls/winspool.drv/tests/info.c @@ -2448,7 +2448,9 @@ static void test_GetPrinterDriver(void) { ret = GetPrinterDriver(hprn, NULL, level, buf, needed - 2, &filled); ok(!ret, "level %d: GetPrinterDriver succeeded with less buffer than it should\n", level); - ok(di_2->pDataFile == NULL, "Even on failure, GetPrinterDriver clears the buffer to zeros\n"); + ok(di_2->pDataFile == NULL || + broken(di_2->pDataFile != NULL), /* Win9x/WinMe */ + "Even on failure, GetPrinterDriver clears the buffer to zeros\n"); } }