Skip to content

Commit

Permalink
netstat -l?
Browse files Browse the repository at this point in the history
  • Loading branch information
rootmos committed Jul 23, 2024
1 parent b01629b commit 74be18c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:

steps:
- name: Install essentials
run: apk add bash python3 tar
run: apk add bash python3 tar net-tools

- name: Check out repository code
uses: actions/checkout@v4
Expand All @@ -121,7 +121,7 @@ jobs:
openbsd
- name: Run test
run: tests/example -v ${{ matrix.version }} -a ${{ matrix.arch }}
run: timeout 1800 tests/example -v ${{ matrix.version }} -a ${{ matrix.arch }}

- name: Keep artifacts
uses: actions/upload-artifact@v4
Expand Down
6 changes: 4 additions & 2 deletions tests/example
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ while ! [ -f "ssh" ]; do
echo 1>&2 "waiting for boot..."
done

./ssh -- doas rcctl check nginx
./ssh -- doas rcctl configtest nginx
echo 1>&2 "netstat guest:"
./ssh -- netstat -l
echo 1>&2 "netstat host:"
netstat -l

HTTP=http://localhost:8000

Expand Down

0 comments on commit 74be18c

Please sign in to comment.