Fix more tests

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent e67e725b1b
commit 08dbbde3ce
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,4 +1,4 @@
From 0a8361d3356d3a3a65f91065c75ca2e5df43c697 Mon Sep 17 00:00:00 2001 From e7bf10727318be0209e058628288e3d3b48f5a8b Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com> From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Sun, 7 Jul 2019 16:36:34 +0200 Date: Sun, 7 Jul 2019 16:36:34 +0200
Subject: [PATCH] Avoid using python in the tests Subject: [PATCH] Avoid using python in the tests
@ -10,7 +10,7 @@ Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
1 file changed, 5 insertions(+), 7 deletions(-) 1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/src/lib.rs b/src/lib.rs diff --git a/src/lib.rs b/src/lib.rs
index 5e65ba3..345dfc5 100644 index 5e65ba3..aa050e2 100644
--- a/src/lib.rs --- a/src/lib.rs
+++ b/src/lib.rs +++ b/src/lib.rs
@@ -39,8 +39,8 @@ @@ -39,8 +39,8 @@
@ -20,7 +20,7 @@ index 5e65ba3..345dfc5 100644
-//! let mut command = Command::new("python"); -//! let mut command = Command::new("python");
-//! command.arg("-c").arg("import time; time.sleep(1000000000)"); -//! command.arg("-c").arg("import time; time.sleep(1000000000)");
+//! let mut command = Command::new("sleep"); +//! let mut command = Command::new("sleep");
+//! command.arg("infinity")"); +//! command.arg("infinity");
//! let shared_child = SharedChild::spawn(&mut command).unwrap(); //! let shared_child = SharedChild::spawn(&mut command).unwrap();
//! let child_arc = Arc::new(shared_child); //! let child_arc = Arc::new(shared_child);
//! //!

Loading…
Cancel
Save