Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
56f96c17
Commit
56f96c17
authored
Aug 19, 2019
by
Alex Henrie
Committed by
Alexandre Julliard
Aug 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Add more tests for RtlIpv4StringToAddress.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3c8f70e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
rtl.c
dlls/ntdll/tests/rtl.c
+29
-0
No files found.
dlls/ntdll/tests/rtl.c
View file @
56f96c17
...
...
@@ -1212,12 +1212,23 @@ static struct
{
"1"
,
STATUS_SUCCESS
,
1
,
{
0
,
0
,
0
,
1
},
strict_diff_4
,
STATUS_INVALID_PARAMETER
,
1
,
{
-
1
}
},
{
"-1"
,
STATUS_INVALID_PARAMETER
,
0
,
{
-
1
}
},
{
"1.2"
,
STATUS_SUCCESS
,
3
,
{
1
,
0
,
0
,
2
},
strict_diff_4
,
STATUS_INVALID_PARAMETER
,
3
,
{
-
1
}
},
{
"1000.2000"
,
STATUS_INVALID_PARAMETER
,
9
,
{
-
1
}
},
{
"1.2."
,
STATUS_INVALID_PARAMETER
,
4
,
{
-
1
}
},
{
"1..2"
,
STATUS_INVALID_PARAMETER
,
3
,
{
-
1
}
},
{
"1...2"
,
STATUS_INVALID_PARAMETER
,
3
,
{
-
1
}
},
{
"1.2.3"
,
STATUS_SUCCESS
,
5
,
{
1
,
2
,
0
,
3
},
strict_diff_4
,
STATUS_INVALID_PARAMETER
,
5
,
{
-
1
}
},
{
"1.2.3."
,
STATUS_INVALID_PARAMETER
,
6
,
{
-
1
}
},
{
"203569230"
,
STATUS_SUCCESS
,
9
,
{
12
,
34
,
56
,
78
},
strict_diff_4
,
STATUS_INVALID_PARAMETER
,
9
,
{
-
1
}
},
{
"1.223756"
,
STATUS_SUCCESS
,
8
,
{
1
,
3
,
106
,
12
},
strict_diff_4
,
STATUS_INVALID_PARAMETER
,
8
,
{
-
1
}
},
{
"3.4.756"
,
STATUS_SUCCESS
,
7
,
{
3
,
4
,
2
,
244
},
strict_diff_4
,
STATUS_INVALID_PARAMETER
,
7
,
{
-
1
}
},
{
"756.3.4"
,
STATUS_INVALID_PARAMETER
,
7
,
{
-
1
}
},
{
"3.756.4"
,
STATUS_INVALID_PARAMETER
,
7
,
{
-
1
}
},
{
"3.4.756.1"
,
STATUS_INVALID_PARAMETER
,
9
,
{
-
1
}
},
{
"3.4.65536"
,
STATUS_INVALID_PARAMETER
,
9
,
{
-
1
}
},
{
"3.4.5.6.7"
,
STATUS_INVALID_PARAMETER
,
7
,
{
-
1
}
},
...
...
@@ -1233,9 +1244,27 @@ static struct
{
".1"
,
STATUS_INVALID_PARAMETER
,
1
,
{
-
1
}
},
{
".1."
,
STATUS_INVALID_PARAMETER
,
1
,
{
-
1
}
},
{
".1.2.3"
,
STATUS_INVALID_PARAMETER
,
1
,
{
-
1
}
},
{
".1.2.3.4"
,
STATUS_INVALID_PARAMETER
,
1
,
{
-
1
}
},
{
"0.1.2.3"
,
STATUS_SUCCESS
,
7
,
{
0
,
1
,
2
,
3
}
},
{
"0.1.2.3."
,
STATUS_INVALID_PARAMETER
,
7
,
{
-
1
}
},
{
"[0.1.2.3]"
,
STATUS_INVALID_PARAMETER
,
0
,
{
-
1
}
},
{
"0x00010203"
,
STATUS_SUCCESS
,
10
,
{
0
,
1
,
2
,
3
},
strict_diff_4
,
STATUS_INVALID_PARAMETER
,
2
,
{
-
1
}
},
{
"0X00010203"
,
STATUS_SUCCESS
,
10
,
{
0
,
1
,
2
,
3
},
strict_diff_4
,
STATUS_INVALID_PARAMETER
,
2
,
{
-
1
}
},
{
"0x1234"
,
STATUS_SUCCESS
,
6
,
{
0
,
0
,
18
,
52
},
strict_diff_4
,
STATUS_INVALID_PARAMETER
,
2
,
{
-
1
}
},
{
"0x123456789"
,
STATUS_SUCCESS
,
11
,
{
35
,
69
,
103
,
137
},
strict_diff_4
,
STATUS_INVALID_PARAMETER
,
2
,
{
-
1
}
},
{
"0x00010Q03"
,
STATUS_SUCCESS
,
7
,
{
0
,
0
,
0
,
16
},
strict_diff_4
|
ex_fail_4
,
STATUS_INVALID_PARAMETER
,
2
,
{
-
1
}
},
{
"x00010203"
,
STATUS_INVALID_PARAMETER
,
0
,
{
-
1
}
},
{
"1234BEEF"
,
STATUS_SUCCESS
,
4
,
{
0
,
0
,
4
,
210
},
strict_diff_4
|
ex_fail_4
,
STATUS_INVALID_PARAMETER
,
4
,
{
-
1
}
},
{
"017700000001"
,
STATUS_SUCCESS
,
12
,
{
127
,
0
,
0
,
1
},
strict_diff_4
,
STATUS_INVALID_PARAMETER
,
1
,
{
-
1
}
},
{
"0777"
,
STATUS_SUCCESS
,
4
,
{
0
,
0
,
1
,
255
},
strict_diff_4
,
STATUS_INVALID_PARAMETER
,
1
,
{
-
1
}
},
{
"::1"
,
STATUS_INVALID_PARAMETER
,
0
,
{
-
1
}
},
{
":1"
,
STATUS_INVALID_PARAMETER
,
0
,
{
-
1
}
},
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment