summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_unistd.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_unistd.rs b/test/test_unistd.rs
index 120a9dd3..b3b69bbb 100644
--- a/test/test_unistd.rs
+++ b/test/test_unistd.rs
@@ -583,7 +583,10 @@ fn test_acct() {
acct::enable(path).unwrap();
loop {
- Command::new("echo").arg("Hello world");
+ Command::new("echo")
+ .arg("Hello world")
+ .output()
+ .unwrap();
let len = fs::metadata(path).unwrap().len();
if len > 0 { break; }
thread::sleep(time::Duration::from_millis(10));