Skip to content

Commit

Permalink
Add sysctl case for FFI
Browse files Browse the repository at this point in the history
Test case will execute sysctl inside nested container running on top of QM

Jira-URL: https://issues.redhat.com/browse/VROOM-19309
Signed-off-by: weiwang <[email protected]>
  • Loading branch information
weiwang-linda committed May 29, 2024
1 parent 8711430 commit bf6ef36
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 2 additions & 1 deletion tests/ffi/sysctl/main.fmf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
summary: Executing sysctl inside nested container running on top of QM
test: /bin/bash ./test.sh
duration: 30m
duration: 20m
tag: ffi
framework: shell
id: f615d356-9bf9-4de2-a007-7a99eca2bc48
5 changes: 0 additions & 5 deletions tests/ffi/sysctl/main.sh

This file was deleted.

2 changes: 0 additions & 2 deletions tests/ffi/sysctl/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,3 @@ podman exec -it qm /bin/bash -c \
if [ $? -eq 137 ]; then
echo ffi-qm was killed by SIGKILL
fi

exec_cmd "systemctl status qm --no-pager | grep \"qm.service: A process of this unit has been killed\""

0 comments on commit bf6ef36

Please sign in to comment.