public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] network/stress/http: Do not use SIGPIPE
@ 2023-01-24  4:42 Akihiko Odaki
  2023-01-24 11:27 ` Petr Vorel
  0 siblings, 1 reply; 4+ messages in thread
From: Akihiko Odaki @ 2023-01-24  4:42 UTC (permalink / raw)
  To: ltp

curl ignores SIGPIPE according to:
https://github.com/curl/curl/commit/e2bcd2ab9e5ad894a57756fa660d2a07b69171f4

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
 testcases/network/stress/http/http-stress02-rmt.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/network/stress/http/http-stress02-rmt.sh b/testcases/network/stress/http/http-stress02-rmt.sh
index 1734c2bd3..d7a77d3ea 100755
--- a/testcases/network/stress/http/http-stress02-rmt.sh
+++ b/testcases/network/stress/http/http-stress02-rmt.sh
@@ -60,7 +60,7 @@ while true ; do
 		-o /dev/null &
 done
 
-killall -qw -s SIGPIPE curl
+killall -qw curl
 
 out=$(curl --noproxy '*' -sS -g "http://$server_ipaddr/$filename" -o /dev/null \
 	-w "time=%{time_total} size=%{size_download} speed=%{speed_download}")
-- 
2.39.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-25 21:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-24  4:42 [LTP] [PATCH] network/stress/http: Do not use SIGPIPE Akihiko Odaki
2023-01-24 11:27 ` Petr Vorel
2023-01-24 12:28   ` Petr Vorel
2023-01-25 21:30     ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox