]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/run.rs
auto merge of #11784 : eminence/rust/fix_run_tests, r=alexcrichton
[rust.git] / src / libstd / run.rs
index 482477b2f0eb9ec27d488c427477f89807d5c6eb..ef2374f6095dad86aa0795864ea8dd6ed91b4b18 100644 (file)
@@ -360,7 +360,7 @@ fn test_process_output_fail_to_start() {
             trapped_io_error = true;
             assert_eq!(e.kind, FileNotFound);
         }).inside(|| -> Option<run::ProcessOutput> {
-            run::process_output("no-binary-by-this-name-should-exist", [])
+            run::process_output("/no-binary-by-this-name-should-exist", [])
         });
         assert!(trapped_io_error);
         assert!(opt_outp.is_none());