Skip to content

Commit a3be210

Browse files
committed
temp: keep diag alive under bash -e
1 parent 7973932 commit a3be210

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/diag.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,22 @@ jobs:
3535
3636
- name: memory-bio-dtls -- wolfSSL state machine trace
3737
run: |
38-
set -uo pipefail
38+
set +e
3939
cd dtls
4040
# flip the example's own `#if 0 wolfSSL_Debugging_ON()` on
4141
sed -i '143s/#if 0/#if 1/' memory-bio-dtls.c
4242
sed -n '142,145p' memory-bio-dtls.c
4343
gcc -g -O0 -o mb memory-bio-dtls.c -I/tmp/inst/include \
4444
-L/tmp/inst/lib -lwolfssl -lpthread -lm || exit 1
4545
export LD_LIBRARY_PATH=/tmp/inst/lib
46-
timeout 12 stdbuf -oL -eL ./mb > /tmp/mb.out 2>&1
47-
echo "rc=$?"
46+
timeout 12 stdbuf -oL -eL ./mb > /tmp/mb.out 2>&1; echo "rc=$?"
4847
echo "=== total debug lines: $(wc -l < /tmp/mb.out)"
4948
echo "=== FIRST 40:"; head -40 /tmp/mb.out
5049
echo "=== LAST 60 (where it spins):"; tail -60 /tmp/mb.out
5150
5251
- name: dtls-nonblocking -- state machine + syscalls
5352
run: |
54-
set -uo pipefail
53+
set +e
5554
cd dtls
5655
export LD_LIBRARY_PATH=/tmp/inst/lib
5756
for t in server-dtls-nonblocking client-dtls-nonblocking; do

0 commit comments

Comments
 (0)