Skip to content

Commit 35dfe34

Browse files
committed
temp: fix the debug toggle after the line shift
1 parent 381ad2b commit 35dfe34

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/diag.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ jobs:
6565
run: |
6666
cd dtls
6767
export LD_LIBRARY_PATH=/tmp/inst/lib
68-
sed -i '143s/#if 0/#if 1/' memory-bio-dtls.c
68+
perl -0pi -e 's/#if 0\n(\s*wolfSSL_Debugging_ON)/#if 1\n$1/' memory-bio-dtls.c
69+
grep -A1 -B1 'Debugging_ON' memory-bio-dtls.c
6970
gcc -g -O0 -o /tmp/mb13 memory-bio-dtls.c -I/tmp/inst/include \
7071
-L/tmp/inst/lib -lwolfssl -lpthread -lm || exit 1
7172
timeout 8 /tmp/mb13 > /tmp/o13.txt 2>&1

0 commit comments

Comments
 (0)