[compiler-rt] 58063c8 - [test][sanitizer] Change exit code to debug llvm-avr-linux
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 10 16:29:37 PDT 2022
Author: Vitaly Buka
Date: 2022-08-10T16:29:28-07:00
New Revision: 58063c8ade36c7f3f2aee1fd8ddb9ff8df9087d4
URL: https://github.com/llvm/llvm-project/commit/58063c8ade36c7f3f2aee1fd8ddb9ff8df9087d4
DIFF: https://github.com/llvm/llvm-project/commit/58063c8ade36c7f3f2aee1fd8ddb9ff8df9087d4.diff
LOG: [test][sanitizer] Change exit code to debug llvm-avr-linux
Added:
Modified:
compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
index c27b6034cafe..f0429f819b40 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
@@ -17,10 +17,10 @@ int main(void) {
exit(1);
if (!(nobody = getgrnam("nobody")))
- exit(1);
+ exit(2);
if (getgrouplist("nobody", nobody->gr_gid, groups, &ngroups) == -1)
- exit(1);
+ exit(3);
if (groups && ngroups) {
free(groups);
More information about the llvm-commits
mailing list