summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2022-04-26 17:12:15 +0800
committerMatt Johnston <matt@ucc.asn.au>2022-04-26 17:12:15 +0800
commit2e0a16c334f6dc733b8d63c266216e5fcc8b6084 (patch)
tree30038b7a39bb5ad214a0f69f87943cfe64b8a1fd
parentc4a0304b3f79349eb8c72c7e97e93c16e3c3d3bb (diff)
downloaddropbear-2e0a16c334f6dc733b8d63c266216e5fcc8b6084.tar.gz
Avoid UNAUTH_CLOSE_DELAY when testing
Seeing if this fixes test failures
-rw-r--r--.github/workflows/build.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index dfe5084..9a85d2a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -140,7 +140,8 @@ jobs:
if: ${{ matrix.nondefault }}
run: |
# Turn on anything that's off by default. Rough but seems sufficient
- grep ' 0$' default_options.h | sed 's/0$/1/' > localoptions.h
+ # UNAUTH_CLOSE_DELAY causes testing problems with lingering sockets, skip it.
+ grep ' 0$' default_options.h | grep -v UNAUTH_CLOSE_DELAY | sed 's/0$/1/' > localoptions.h
# PAM clashes with password
echo "#define DROPBEAR_SVR_PASSWORD_AUTH 0" >> localoptions.h