Skip to content

Commit

Permalink
tests: exclude known failures for prog_ls crashes
Browse files Browse the repository at this point in the history
Signed-off-by: Ronnie Sahlberg <[email protected]>
  • Loading branch information
sahlberg committed Dec 20, 2024
1 parent b0f456d commit 9f86f28
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/prog_ls.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,13 @@ int main(int argc, char *argv[])
alloc_fail = atoi(getenv("ALLOC_FAIL"));
}
/* https://bugzilla.redhat.com/show_bug.cgi?id=2333389 */
//if (alloc_fail == 1) {
// alloc_fail = -1;
//}
/* skip these test as they are known failures and have been reported */
if (alloc_fail == 2) {
alloc_fail = -1;
}
if (alloc_fail == 18) {
alloc_fail = -1;
}

real_malloc = dlsym(RTLD_NEXT, "malloc");
real_calloc = dlsym(RTLD_NEXT, "calloc");
Expand Down

0 comments on commit 9f86f28

Please sign in to comment.