Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e5f69e81
Commit
e5f69e81
authored
May 25, 2020
by
Alex Henrie
Committed by
Alexandre Julliard
May 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Add more RtlIpv6AddressToString tests.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
917002c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
rtl.c
dlls/ntdll/tests/rtl.c
+12
-1
No files found.
dlls/ntdll/tests/rtl.c
View file @
e5f69e81
...
...
@@ -1721,28 +1721,40 @@ static void test_RtlIpv6AddressToString(void)
{
/* ipv4 addresses & ISATAP addresses */
{
"::13.1.68.3"
,
{
0
,
0
,
0
,
0
,
0
,
0
,
0x10d
,
0x344
}
},
{
"::123.123.123.123"
,
{
0
,
0
,
0
,
0
,
0
,
0
,
0x7b7b
,
0x7b7b
}
},
{
"::ffff"
,
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0xffff
}
},
{
"::0.1.0.0"
,
{
0
,
0
,
0
,
0
,
0
,
0
,
0x100
,
0
}
},
{
"::ffff:13.1.68.3"
,
{
0
,
0
,
0
,
0
,
0
,
0xffff
,
0x10d
,
0x344
}
},
{
"::feff:d01:4403"
,
{
0
,
0
,
0
,
0
,
0
,
0xfffe
,
0x10d
,
0x344
}
},
{
"::fffe:d01:4403"
,
{
0
,
0
,
0
,
0
,
0
,
0xfeff
,
0x10d
,
0x344
}
},
{
"::100:d01:4403"
,
{
0
,
0
,
0
,
0
,
0
,
1
,
0x10d
,
0x344
}
},
{
"::1:d01:4403"
,
{
0
,
0
,
0
,
0
,
0
,
0x100
,
0x10d
,
0x344
}
},
{
"::1:0:d01:4403"
,
{
0
,
0
,
0
,
0
,
0x100
,
0
,
0x10d
,
0x344
}
},
{
"::fffe:d01:4403"
,
{
0
,
0
,
0
,
0
,
0
,
0xfeff
,
0x10d
,
0x344
}
},
{
"::fffe:0:d01:4403"
,
{
0
,
0
,
0
,
0
,
0xfeff
,
0
,
0x10d
,
0x344
}
},
{
"::ffff:0:4403"
,
{
0
,
0
,
0
,
0
,
0
,
0xffff
,
0
,
0x344
}
},
{
"::ffff:0.1.0.0"
,
{
0
,
0
,
0
,
0
,
0
,
0xffff
,
0x100
,
0
}
},
{
"::ffff:13.1.0.0"
,
{
0
,
0
,
0
,
0
,
0
,
0xffff
,
0x10d
,
0
}
},
{
"::ffff:0:0"
,
{
0
,
0
,
0
,
0
,
0
,
0xffff
,
0
,
0
}
},
{
"::ffff:0:ffff"
,
{
0
,
0
,
0
,
0
,
0
,
0xffff
,
0
,
0xffff
}
},
{
"::ffff:0:0.1.0.0"
,
{
0
,
0
,
0
,
0
,
0xffff
,
0
,
0x100
,
0
}
},
{
"::ffff:0:13.1.68.3"
,
{
0
,
0
,
0
,
0
,
0xffff
,
0
,
0x10d
,
0x344
}
},
{
"::ffff:ffff:d01:4403"
,
{
0
,
0
,
0
,
0
,
0xffff
,
0xffff
,
0x10d
,
0x344
}
},
{
"::ffff:0:0:d01:4403"
,
{
0
,
0
,
0
,
0xffff
,
0
,
0
,
0x10d
,
0x344
}
},
{
"::ffff:255.255.255.255"
,
{
0
,
0
,
0
,
0
,
0
,
0xffff
,
0xffff
,
0xffff
}
},
{
"::ffff:129.144.52.38"
,
{
0
,
0
,
0
,
0
,
0
,
0xffff
,
0x9081
,
0x2634
}
},
{
"::5efe:0.0.0.0"
,
{
0
,
0
,
0
,
0
,
0
,
0xfe5e
,
0
,
0
}
},
{
"::5efe:129.144.52.38"
,
{
0
,
0
,
0
,
0
,
0
,
0xfe5e
,
0x9081
,
0x2634
}
},
{
"1111:2222:3333:4444:0:5efe:129.144.52.38"
,
{
0x1111
,
0x2222
,
0x3333
,
0x4444
,
0
,
0xfe5e
,
0x9081
,
0x2634
}
},
{
"1111:2222:3333::5efe:129.144.52.38"
,
{
0x1111
,
0x2222
,
0x3333
,
0
,
0
,
0xfe5e
,
0x9081
,
0x2634
}
},
{
"1111:2222::5efe:129.144.52.38"
,
{
0x1111
,
0x2222
,
0
,
0
,
0
,
0xfe5e
,
0x9081
,
0x2634
}
},
{
"1111::5efe:129.144.52.38"
,
{
0x1111
,
0
,
0
,
0
,
0
,
0xfe5e
,
0x9081
,
0x2634
}
},
{
"::300:5efe:8190:3426"
,
{
0
,
0
,
0
,
0
,
3
,
0xfe5e
,
0x9081
,
0x2634
}
},
{
"::200:5efe:129.144.52.38"
,
{
0
,
0
,
0
,
0
,
2
,
0xfe5e
,
0x9081
,
0x2634
}
},
{
"::100:5efe:8190:3426"
,
{
0
,
0
,
0
,
0
,
1
,
0xfe5e
,
0x9081
,
0x2634
}
},
/* 'normal' addresses */
{
"::1"
,
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0x100
}
},
{
"::2"
,
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0x200
}
},
{
"0:1:2:3:4:5:6:7"
,
{
0
,
0x100
,
0x200
,
0x300
,
0x400
,
0x500
,
0x600
,
0x700
}
},
{
"1080::8:800:200c:417a"
,
{
0x8010
,
0
,
0
,
0
,
0x800
,
0x8
,
0x0c20
,
0x7a41
}
},
{
"1111:2222:3333:4444:5555:6666:7b7b:7b7b"
,
{
0x1111
,
0x2222
,
0x3333
,
0x4444
,
0x5555
,
0x6666
,
0x7b7b
,
0x7b7b
}
},
...
...
@@ -1777,7 +1789,6 @@ static void test_RtlIpv6AddressToString(void)
{
"2001:db8:85a3::8a2e:370:7334"
,
{
0x120
,
0xb80d
,
0xa385
,
0
,
0
,
0x2e8a
,
0x7003
,
0x3473
}
},
{
"3ffe:b00::1:0:0:a"
,
{
0xfe3f
,
0xb
,
0
,
0
,
0x100
,
0
,
0
,
0xa00
}
},
{
"::a:b:c:d:e"
,
{
0
,
0
,
0
,
0xa00
,
0xb00
,
0xc00
,
0xd00
,
0xe00
}
},
{
"::123.123.123.123"
,
{
0
,
0
,
0
,
0
,
0
,
0
,
0x7b7b
,
0x7b7b
}
},
{
"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"
,
{
0xffff
,
0xffff
,
0xffff
,
0xffff
,
0xffff
,
0xffff
,
0xffff
,
0xffff
}
},
{
"1111:2222:3333:4444:5555:6666:7777:1"
,
{
0x1111
,
0x2222
,
0x3333
,
0x4444
,
0x5555
,
0x6666
,
0x7777
,
0x100
}
},
{
"1111:2222:3333:4444:5555:6666:7777:8888"
,
{
0x1111
,
0x2222
,
0x3333
,
0x4444
,
0x5555
,
0x6666
,
0x7777
,
0x8888
}
},
...
...
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