diff options
author | Alan Somers <asomers@gmail.com> | 2020-11-30 18:20:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-01 10:20:49 +0900 |
commit | 7ae8135b62057be6b1691f04b27eabe285b05efd (patch) | |
tree | 8b211b0f9807692d77be8a64a4835718355afe7b /tokio | |
parent | 353b0544a04214e7d6e828641e2045df1d97cda8 (diff) |
process: fix the process_kill_on_drop.rs test on non-Linux systems (#3203)
"disown" is a bash builtin, not part of POSIX sh.
Diffstat (limited to 'tokio')
-rw-r--r-- | tokio/tests/process_kill_on_drop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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", " |