[PATCH 2/2] Add unit tests for juction points using reparse point interface

Paul TBBle Hampson Paul.Hampson at Pobox.com
Wed Jan 7 00:21:03 CST 2009


These unit tests have only been tested on WinXP so far. However, I think
it'll run on older Windows, at least as far as finding out that junction
points are not supported and skipping the tests.

No todo_wine because Wine doesn't claim to support junction points on
NTFS.

They're in kernel32 because that's where DeviceIoControl lives, although
I realised much later on that any implementation of this stuff would
actually end up in ntdll (forwarded to NtFsControlFile). So that's
trivial to change if needed.

This is the prelude to fixing bug 12401 and hence 10601, by at least
exercising the functionality, and providing a concrete working piece of
code, since the Internet is sort of vague about a lot of the fine
details of these ioctls.

Sort of inspired by Thomas Kho's patch from 2006, although I ended up
not actually using any of that code.

-- 
-----------------------------------------------------------
Paul "TBBle" Hampson, B.Sc, LPI, MCSE
Very-later-year Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson at Pobox.com

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
 -- Kristian Wilson, Nintendo, Inc, 1989

License: http://creativecommons.org/licenses/by/2.5/au/
-----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-unit-tests-for-juction-points-using-reparse-poin.patch
Type: text/x-diff
Size: 19620 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090107/8bb89988/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090107/8bb89988/attachment.pgp 


More information about the wine-patches mailing list