fixup! add a handshake memory failure test

This commit is contained in:
Neil Horman 2025-07-25 09:26:49 -04:00
parent 6381b6ddcc
commit 63b2a20dd5
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@ run(test(["handshake-memfail", "count", srctop_dir("test", "certs")], stderr =>
#
# Read the result file into an array
#
my @lines = `cat "$resultdir/countinfo.txt"`;
open my $handle, '<', "$resultdir/countinfo.txt";
chomp(my @lines = <$handle>);
close $handle;
#
# some line contains our counts, find and split that into an array