process: fix the process_kill_on_drop.rs test on non-Linux systems (#3203)

"disown" is a bash builtin, not part of POSIX sh.
This commit is contained in:
Alan Somers
2020-12-01 10:20:49 +09:00
committed by GitHub
parent 353b0544a0
commit 7ae8135b62
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ task:
LOOM_MAX_PREEMPTIONS: 2
RUSTFLAGS: -Dwarnings
setup_script:
- pkg install -y curl
- pkg install -y bash curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile minimal --default-toolchain stable
- . $HOME/.cargo/env
+1 -1
View File
@@ -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",
"