From 259d68fca7030e453fc67079cda29ec5293e445a Mon Sep 17 00:00:00 2001 From: swlars Date: Fri, 20 Mar 2026 23:02:26 +0000 Subject: [PATCH 1/3] Add auth_test.sh to github actions --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 145db560f..a079a42df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,6 +32,7 @@ jobs: - name: build run: | ./configure && make && make check + ./auth_test.sh timeout 300 src/iperf3 -s & ./test_commands.sh localhost build-test-macos-ish: @@ -47,6 +48,7 @@ jobs: - name: build run: | ./configure && make && make check + ./auth_test.sh timeout 300 src/iperf3 -s & ./test_commands.sh localhost build-test-sanitizer-address: @@ -61,5 +63,6 @@ jobs: - name: build run: | ./configure CFLAGS="-g -O0 -fsanitize=address" LDFLAGS="-fsanitize=address" && make && make check + ./auth_test.sh timeout 300 src/iperf3 -s & ./test_commands.sh localhost From 955acb5367a61af68c7c442a61266f62e073c46d Mon Sep 17 00:00:00 2001 From: swlars Date: Thu, 26 Mar 2026 21:08:06 +0000 Subject: [PATCH 2/3] Add separate stage for run auth_test.sh --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a079a42df..5acc8fb09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,9 +32,13 @@ jobs: - name: build run: | ./configure && make && make check - ./auth_test.sh + - name: test commands + run: | timeout 300 src/iperf3 -s & ./test_commands.sh localhost + - name: test auth + run: | + ./auth_test.sh build-test-macos-ish: strategy: matrix: @@ -48,7 +52,6 @@ jobs: - name: build run: | ./configure && make && make check - ./auth_test.sh timeout 300 src/iperf3 -s & ./test_commands.sh localhost build-test-sanitizer-address: @@ -63,6 +66,5 @@ jobs: - name: build run: | ./configure CFLAGS="-g -O0 -fsanitize=address" LDFLAGS="-fsanitize=address" && make && make check - ./auth_test.sh timeout 300 src/iperf3 -s & ./test_commands.sh localhost From a1b4eafabbe087b029086a75f5e988dd90e382bb Mon Sep 17 00:00:00 2001 From: swlars Date: Thu, 26 Mar 2026 21:27:09 +0000 Subject: [PATCH 3/3] Add pkill to test_auth --- .github/workflows/build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5acc8fb09..e35ae773b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,6 +38,7 @@ jobs: ./test_commands.sh localhost - name: test auth run: | + pkill iperf3 ./auth_test.sh build-test-macos-ish: strategy: @@ -52,8 +53,14 @@ jobs: - name: build run: | ./configure && make && make check + - name: test commands + run: | timeout 300 src/iperf3 -s & ./test_commands.sh localhost + - name: test auth + run: | + pkill iperf3 + ./auth_test.sh build-test-sanitizer-address: runs-on: ubuntu-latest steps: @@ -66,5 +73,11 @@ jobs: - name: build run: | ./configure CFLAGS="-g -O0 -fsanitize=address" LDFLAGS="-fsanitize=address" && make && make check + - name: test commands + run: | timeout 300 src/iperf3 -s & ./test_commands.sh localhost + - name: test auth + run: | + pkill iperf3 + ./auth_test.sh