Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run_tests.sh: Load vsock_loopback module for vsock-proxy tests #557

Merged
merged 1 commit into from
Nov 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ sed -i 's/CMD/ENTRYPOINT/g' examples/"${ARCH}"/hello-entrypoint/Dockerfile || te
nitro-cli build-enclave --docker-dir examples/"${ARCH}"/hello-entrypoint --docker-uri hello-entrypoint-usage \
--output-file test_images/hello-entrypoint-usage.eif || test_failed

# Load vsock_loopback module for connection_test test of vsock-proxy
if [ "$(lsmod | grep -cw vsock_loopback)" -eq 0 ]; then
modprobe vsock_loopback || echo "Module vsock_loopback not available."
fi

# Run all unit tests
while IFS= read -r test_line
do
Expand Down