Skip to content

Commit

Permalink
test: strace to find where tun-sock originated
Browse files Browse the repository at this point in the history
  • Loading branch information
kp-omer-shamash committed Feb 11, 2025
1 parent 8f49bde commit ae3799e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/base/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ container:
jq \
procps \
retry \
tcpdump
tcpdump \
strace

build-test-nginx-container:
FROM nginx:latest
Expand Down
2 changes: 1 addition & 1 deletion tests/client/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ echo "====================================================================="
echo "Start lightway-client: --tun-name=${tunname} --tun-local-ip=${tun_local_ip} --tun-peer-ip=${tun_peer_ip} $*"
echo "====================================================================="

exec ./lightway-client --tun-name="${tunname}" --tun-local-ip="${tun_local_ip}" --tun-peer-ip="${tun_peer_ip}" "$@"
exec strace -ff -- ./lightway-client --tun-name="${tunname}" --tun-local-ip="${tun_local_ip}" --tun-peer-ip="${tun_peer_ip}" "$@"

0 comments on commit ae3799e

Please sign in to comment.