We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 488e934 commit c99f265Copy full SHA for c99f265
1 file changed
tests/valgrind-benchmark.sh
@@ -35,7 +35,7 @@ valgrind \
35
36
pid=$!
37
38
-trap 'kill -0 $pid > /dev/null 2>&1 && kill -9 $pid && ps aux | grep valgrind | awk "{ print \$2 }" | xargs kill -9' EXIT
+trap 'kill -0 $pid > /dev/null 2>&1 && kill -9 $pid && ps aux | grep freehttpd | awk "{ print \$2 }" | xargs kill -9' EXIT
39
trap "exit 1" INT TERM
40
41
echo "Starting stress test with Valgrind in 2 seconds..."
@@ -51,7 +51,7 @@ fi
51
echo "Benchmark completed successfully"
52
53
kill -9 $pid
54
-ps aux | grep valgrind | awk '{ print $2 }' | xargs kill -9
+ps aux | grep freehttpd | awk '{ print $2 }' | xargs kill -9
55
56
echo "Valgrind completed successfully"
57
echo "Check valgrind.log for details"
0 commit comments