Alexandre Julliard : kernel32/tests: Avoid testing the D: drive which may not exist.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 23 09:59:47 CST 2015
Module: wine
Branch: master
Commit: 9ae90b354c61c82819cd64177ab62c267e8d6b36
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9ae90b354c61c82819cd64177ab62c267e8d6b36
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Nov 24 00:23:12 2015 +0900
kernel32/tests: Avoid testing the D: drive which may not exist.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/tests/volume.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/kernel32/tests/volume.c b/dlls/kernel32/tests/volume.c
index 44794f1..91eb162 100644
--- a/dlls/kernel32/tests/volume.c
+++ b/dlls/kernel32/tests/volume.c
@@ -664,9 +664,9 @@ static void test_GetVolumePathNameA(void)
"\\\\ReallyBogus\\InvalidDrive:\\" /* win2k, winxp */, sizeof(volume_path),
ERROR_INVALID_NAME, NO_ERROR
},
- { /* test 15: poor quality input, valid output, valid output length, different drive */
- "D::", "D:\\", sizeof(volume_path),
- NO_ERROR, NO_ERROR
+ { /* test 15: poor quality input, valid output, valid (but short) output length */
+ "C::", "C:\\", 4,
+ NO_ERROR, ERROR_MORE_DATA
},
{ /* test 16: unused drive letter */
"M::", "C:\\", 4,
More information about the wine-cvs
mailing list