diff mbox series

tests/23rdev-lifetime: fix a typo

Message ID 20240509011059.2685095-1-yukuai1@huaweicloud.com (mailing list archive)
State Accepted
Headers show
Series tests/23rdev-lifetime: fix a typo | expand

Checks

Context Check Description
mdraidci/vmtest-md-6-10-PR fail merge-conflict

Commit Message

Yu Kuai May 9, 2024, 1:10 a.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

"pill" was wrong, while it should be "kill", test will still pass while
test thread will not be cleaned up.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
---
 tests/23rdev-lifetime | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mariusz Tkaczyk May 10, 2024, 8:07 a.m. UTC | #1
On Thu,  9 May 2024 09:10:59 +0800
Yu Kuai <yukuai1@huaweicloud.com> wrote:
> 
> From: Yu Kuai <yukuai3@huawei.com>
> 
> "pill" was wrong, while it should be "kill", test will still pass while
> test thread will not be cleaned up.
> 
> Signed-off-by: Yu Kuai <yukuai3@huawei.com>
> ---

Applied! 

Thanks,
Mariusz
diff mbox series

Patch

diff --git a/tests/23rdev-lifetime b/tests/23rdev-lifetime
index 1750b0db..03b61de4 100644
--- a/tests/23rdev-lifetime
+++ b/tests/23rdev-lifetime
@@ -4,7 +4,7 @@  pid=""
 runtime=2
 
 clean_up_test() {
-	pill -9 $pid
+	kill -9 $pid
 	echo clear > /sys/block/md0/md/array_state
 }