Skip to content

Commit c99f265

Browse files
ci: fix benchmarking issues
Signed-off-by: Ar Rakin <rakinar2@onesoftnet.eu.org>
1 parent 488e934 commit c99f265

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/valgrind-benchmark.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ valgrind \
3535

3636
pid=$!
3737

38-
trap 'kill -0 $pid > /dev/null 2>&1 && kill -9 $pid && ps aux | grep valgrind | awk "{ print \$2 }" | xargs kill -9' EXIT
38+
trap 'kill -0 $pid > /dev/null 2>&1 && kill -9 $pid && ps aux | grep freehttpd | awk "{ print \$2 }" | xargs kill -9' EXIT
3939
trap "exit 1" INT TERM
4040

4141
echo "Starting stress test with Valgrind in 2 seconds..."
@@ -51,7 +51,7 @@ fi
5151
echo "Benchmark completed successfully"
5252

5353
kill -9 $pid
54-
ps aux | grep valgrind | awk '{ print $2 }' | xargs kill -9
54+
ps aux | grep freehttpd | awk '{ print $2 }' | xargs kill -9
5555

5656
echo "Valgrind completed successfully"
5757
echo "Check valgrind.log for details"

0 commit comments

Comments
 (0)