Commit 4f0840fa authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Memtest.sh sends INT so that sockets can properly terminate.

parent cb0317e0
Pipeline #1531 failed with stages
in 1 minute and 20 seconds
......@@ -10,11 +10,11 @@ check() {
fi
}
to="timeout 60"
valgrind="valgrind --tool=memcheck --track-origins=yes --leak-check=full --error-exitcode=1"
to="timeout -s INT 30 "
valgrind="valgrind --tool=memcheck --track-origins=yes --leak-check=full --show-leak-kinds=all --error-exitcode=1"
$to $valgrind ./bin/receiver 5000 127 receiver.csv &
$to $valgrind ./bin/sender 127.0.0.1 5000 127 sender.csv
$to $valgrind ./bin/receiver 5000 256 receiver.csv &
$to $valgrind ./bin/sender 127.0.0.1 5000 256 sender.csv
check "$?" "sender failed"
wait
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment