mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:36:11 +00:00
[KMTEST:FSRTL]
Add a test that matches rosautotest.exe behavior svn path=/trunk/; revision=58826
This commit is contained in:
parent
b56283a15f
commit
2b47f60899
1 changed files with 8 additions and 0 deletions
|
@ -359,6 +359,10 @@ static VOID FsRtlIsNameInExpressionTest()
|
||||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE\n");
|
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE\n");
|
||||||
RtlInitUnicodeString(&Name, L"ac.exe");
|
RtlInitUnicodeString(&Name, L"ac.exe");
|
||||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE\n");
|
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE\n");
|
||||||
|
|
||||||
|
RtlInitUnicodeString(&Expression, L"<.exe");
|
||||||
|
RtlInitUnicodeString(&Name, L"test.exe");
|
||||||
|
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static VOID FsRtlIsDbcsInExpressionTest()
|
static VOID FsRtlIsDbcsInExpressionTest()
|
||||||
|
@ -674,6 +678,10 @@ static VOID FsRtlIsDbcsInExpressionTest()
|
||||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
|
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
|
||||||
RtlInitAnsiString(&Name, "ac.exe");
|
RtlInitAnsiString(&Name, "ac.exe");
|
||||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
|
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
|
||||||
|
|
||||||
|
RtlInitAnsiString(&Expression, "<.exe");
|
||||||
|
RtlInitAnsiString(&Name, "test.exe");
|
||||||
|
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
START_TEST(FsRtlExpression)
|
START_TEST(FsRtlExpression)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue