winspool.drv/tests: Fix a test failure on Win9x/WinMe.
This commit is contained in:
parent
5e3e9e03f2
commit
387f050f68
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue