winspool.drv/tests: Fix a test failure on Win9x/WinMe.

This commit is contained in:
Paul Vriens 2010-02-17 10:59:18 +01:00 committed by Alexandre Julliard
parent 5e3e9e03f2
commit 387f050f68
1 changed files with 3 additions and 1 deletions

View File

@ -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");
}
}