ntdll/tests: make sure a return value is used (LLVM/Clang) (1/2)
Austin English
austinenglish at gmail.com
Thu Feb 10 15:27:48 CST 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/ntdll/tests/env.c b/dlls/ntdll/tests/env.c
index 8289841..6bd1530 100644
--- a/dlls/ntdll/tests/env.c
+++ b/dlls/ntdll/tests/env.c
@@ -244,6 +244,7 @@ static void testExpand(void)
us_dst.Buffer = NULL;
nts = pRtlExpandEnvironmentStrings_U(small_env, &us_src, &us_dst, &ul);
+ ok(nts == STATUS_BUFFER_TOO_SMALL, "Call failed (%u)\n", nts);
ok(ul == strlen(test->dst) * sizeof(WCHAR) + sizeof(WCHAR),
"Wrong returned length for %s: %u\n", test->src, ul );
More information about the wine-patches
mailing list