Bug 1433905 - [mozprocess] Fix broken path to process script for test_process_output_nonewline. r=gbrown
authorHenrik Skupin <mail@hskupin.info>
Thu, 04 Oct 2018 10:49:52 +0000
changeset 495369 a9f6938eccfeecfd92fce314b42a76ba11401f41
parent 495368 70607539582dc03ea44a0179aab0a1ab88785e98
child 495370 8793e332890e9dab0c931d92e295965028ad4bef
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs1433905
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1433905 - [mozprocess] Fix broken path to process script for test_process_output_nonewline. r=gbrown Depends on D7394 Differential Revision: https://phabricator.services.mozilla.com/D7395
testing/mozbase/mozprocess/tests/test_output.py
--- a/testing/mozbase/mozprocess/tests/test_output.py
+++ b/testing/mozbase/mozprocess/tests/test_output.py
@@ -29,17 +29,18 @@ class ProcTestOutput(proctest.ProcTest):
         p.wait()
 
         self.determine_status(p, False, ())
 
     def test_process_output_nonewline(self):
         """
         Process is started, outputs data with no newline
         """
-        p = processhandler.ProcessHandler([self.python, "scripts", "procnonewline.py"],
+        p = processhandler.ProcessHandler([self.python,
+                                           os.path.join("scripts", "procnonewline.py")],
                                           cwd=here)
 
         p.run()
         p.processOutput(timeout=5)
         p.wait()
 
         self.determine_status(p, False, ())