From 7ae8135b62057be6b1691f04b27eabe285b05efd Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Mon, 30 Nov 2020 18:20:49 -0700 Subject: process: fix the process_kill_on_drop.rs test on non-Linux systems (#3203) "disown" is a bash builtin, not part of POSIX sh. --- tokio/tests/process_kill_on_drop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tokio') diff --git a/tokio/tests/process_kill_on_drop.rs b/tokio/tests/process_kill_on_drop.rs index f67bb23c..00f5c6dc 100644 --- a/tokio/tests/process_kill_on_drop.rs +++ b/tokio/tests/process_kill_on_drop.rs @@ -10,7 +10,7 @@ use tokio_test::assert_ok; #[tokio::test] async fn kill_on_drop() { - let mut cmd = Command::new("sh"); + let mut cmd = Command::new("bash"); cmd.args(&[ "-c", " -- cgit v1.2.3