Skip to content

Commit 9c4cb69

Browse files
committed
Fix 'pkill not found' in docker container
1 parent 5e550f9 commit 9c4cb69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sharness/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ clean-test-results:
4848

4949
$(T): clean-test-results deps
5050
@echo "*** $@ ***"
51-
./$@
51+
./$@ -v
5252

5353
aggregate: clean-test-results $(T)
5454
@echo "*** $@ ***"

sharness/lib/test-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ test_start_daemon() {
129129
test_stop_daemon() {
130130
docid="$1"
131131
test_expect_success "kill ipfs daemon" '
132-
exec_docker "$docid" "pkill ipfs"
132+
exec_docker "$docid" "kill $(pidof ipfs)"
133133
'
134134
}
135135

0 commit comments

Comments
 (0)