From 14169f5bc456ec45a746ecd554adfa825a6e9f5a Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Thu, 8 Jul 2021 11:29:46 +0200 Subject: added script to host service locally on port for easier memory leak debugging and checking in/out/stderr, also made file locking / unlocking less racey now flush locks after acquiring and before unlocking --- run-proxy.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 run-proxy.sh (limited to 'run-proxy.sh') diff --git a/run-proxy.sh b/run-proxy.sh new file mode 100755 index 0000000..efc1450 --- /dev/null +++ b/run-proxy.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +tee /tmp/run-log-in-$$ | valgrind --show-leak-kinds=all --leak-check=full service/src/build/stldoctor 2>/tmp/run-log-err-$$ | tee /tmp/run-log-out-$$ -- cgit v1.2.3-71-gd317