From 871d3947ca810dfef8b51075539a84eb7d5dfcef Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 8 Sep 2019 16:03:49 +0200 Subject: [PATCH] Update patch Signed-off-by: Igor Gnatenko --- 0001-Avoid-using-python-in-the-tests.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/0001-Avoid-using-python-in-the-tests.patch b/0001-Avoid-using-python-in-the-tests.patch index e208d05..28ca8da 100644 --- a/0001-Avoid-using-python-in-the-tests.patch +++ b/0001-Avoid-using-python-in-the-tests.patch @@ -1,4 +1,4 @@ -From e7bf10727318be0209e058628288e3d3b48f5a8b Mon Sep 17 00:00:00 2001 +From 7860be68defbae89ac2baab06b8052abac1cc946 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 7 Jul 2019 16:36:34 +0200 Subject: [PATCH] Avoid using python in the tests @@ -10,7 +10,7 @@ Signed-off-by: Igor Gnatenko 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/lib.rs b/src/lib.rs -index 5e65ba3..aa050e2 100644 +index ee77aa4..e9c7118 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -39,8 +39,8 @@ @@ -24,7 +24,7 @@ index 5e65ba3..aa050e2 100644 //! let shared_child = SharedChild::spawn(&mut command).unwrap(); //! let child_arc = Arc::new(shared_child); //! -@@ -230,14 +230,12 @@ mod tests { +@@ -232,14 +232,12 @@ mod tests { use std::sync::Arc; pub fn true_cmd() -> Command { @@ -36,12 +36,12 @@ index 5e65ba3..aa050e2 100644 pub fn sleep_forever_cmd() -> Command { - let mut cmd = Command::new("python"); -- cmd.arg("-c").arg("import time; time.sleep(1000000000)"); +- cmd.arg("-c").arg("import time; time.sleep(1000000)"); + let mut cmd = Command::new("sleep"); + cmd.arg("infinity"); cmd } -- -2.22.0 +2.23.0