Skip to content

Commit

Permalink
Fixing GH Actions tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivanshVij committed Jul 3, 2024
1 parent 05d06c5 commit 26af407
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions kmod/pagefault/tests/page_fault/page_fault_benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ int main()
if (ret) {
printf("ERROR: could not call 'IOCTL_MMAP_CMD': %s\n", strerror(errno));
res = EXIT_FAILURE;
goto close_syscall_dev;
}
res = EXIT_SUCCESS;
close_syscall_dev:
Expand Down
1 change: 1 addition & 0 deletions kmod/pagefault/tests/page_fault/page_fault_fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ int main()
printf("[%d] ERROR: could not call 'IOCTL_MMAP_CMD': %s\n", pid,
strerror(errno));
res = EXIT_FAILURE;
goto close_syscall_dev;
}
res = EXIT_SUCCESS;
close_syscall_dev:
Expand Down
2 changes: 2 additions & 0 deletions kmod/pagefault/tests/page_fault/page_fault_ioctl_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ int main()
printf("== ERROR: could not call 'IOCTL_MMAP_CMD': %s\n",
strerror(errno));
res = EXIT_FAILURE;
goto close_syscall_dev;

}
printf("== OK: called IOCTL_OVERLAY_CLEANUP_CMD successfully!\n");

Expand Down

0 comments on commit 26af407

Please sign in to comment.