Skip to content

Commit

Permalink
fix(test_suite): execveat_x fix for powerpc
Browse files Browse the repository at this point in the history
Signed-off-by: mdafsanhossain <[email protected]>
  • Loading branch information
mdafsanhossain committed Nov 28, 2023
1 parent a347988 commit dbd31ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/drivers/test_suites/syscall_exit_suite/execveat_x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ TEST(SyscallExit, execveatX_correct_exit)

evt_test->disable_capture();

#if defined(__s390x__) || defined(__riscv)
#if defined(__s390x__) || defined(__riscv) || defined(__powerpc__)
/* We search for a child event. */
evt_test->assert_event_presence(ret_pid);

Expand Down Expand Up @@ -338,7 +338,7 @@ TEST(SyscallExit, execveatX_execve_exit)
evt_test->disable_capture();

/* `s390x` returns an `EXECVEAT_X` event while other architectures retun an `EXECVE_X` */
#if defined(__s390x__) || defined(__riscv)
#if defined(__s390x__) || defined(__riscv) || defined(__powerpc__)
/* We search for a child event. */
evt_test->assert_event_absence(ret_pid, PPME_SYSCALL_EXECVE_19_X);
#else
Expand Down Expand Up @@ -494,7 +494,7 @@ TEST(SyscallExit, execveatX_success_memfd)

evt_test->disable_capture();

#if defined(__s390x__) || defined(__riscv)
#if defined(__s390x__) || defined(__riscv) || defined(__powerpc__)
/* We search for a child event. */
evt_test->assert_event_presence(ret_pid);

Expand Down

0 comments on commit dbd31ac

Please sign in to comment.