mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:23:03 +00:00
[KMTEST]
Only if-out the proper tests on checked builds. This should reveal the failing tests. svn path=/trunk/; revision=56142
This commit is contained in:
parent
fc00f17c66
commit
3f4382482e
1 changed files with 12 additions and 6 deletions
|
@ -24,13 +24,16 @@ static VOID FsRtlIsNameInExpressionTest()
|
||||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE");
|
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE");
|
||||||
RtlInitUnicodeString(&Expression, L"");
|
RtlInitUnicodeString(&Expression, L"");
|
||||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE");
|
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE");
|
||||||
|
}
|
||||||
|
|
||||||
RtlInitUnicodeString(&Expression, L"**");
|
RtlInitUnicodeString(&Expression, L"**");
|
||||||
|
if (!KmtIsCheckedBuild)
|
||||||
|
{
|
||||||
RtlInitUnicodeString(&Name, L"");
|
RtlInitUnicodeString(&Name, L"");
|
||||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE");
|
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE");
|
||||||
RtlInitUnicodeString(&Name, L"a");
|
|
||||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE");
|
|
||||||
}
|
}
|
||||||
|
RtlInitUnicodeString(&Name, L"a");
|
||||||
|
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE");
|
||||||
|
|
||||||
RtlInitUnicodeString(&Expression, L"ntdll.dll");
|
RtlInitUnicodeString(&Expression, L"ntdll.dll");
|
||||||
RtlInitUnicodeString(&Name, L".");
|
RtlInitUnicodeString(&Name, L".");
|
||||||
|
@ -206,13 +209,16 @@ static VOID FsRtlIsDbcsInExpressionTest()
|
||||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE");
|
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE");
|
||||||
RtlInitAnsiString(&Expression, "");
|
RtlInitAnsiString(&Expression, "");
|
||||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE");
|
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE");
|
||||||
|
}
|
||||||
|
|
||||||
RtlInitAnsiString(&Expression, "**");
|
RtlInitAnsiString(&Expression, "**");
|
||||||
|
if (!KmtIsCheckedBuild)
|
||||||
|
{
|
||||||
RtlInitAnsiString(&Name, "");
|
RtlInitAnsiString(&Name, "");
|
||||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE");
|
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE");
|
||||||
RtlInitAnsiString(&Name, "a");
|
|
||||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE");
|
|
||||||
}
|
}
|
||||||
|
RtlInitAnsiString(&Name, "a");
|
||||||
|
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE");
|
||||||
|
|
||||||
RtlInitAnsiString(&Expression, "ntdll.dll");
|
RtlInitAnsiString(&Expression, "ntdll.dll");
|
||||||
RtlInitAnsiString(&Name, ".");
|
RtlInitAnsiString(&Name, ".");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue