← Back to team overview

zorba-coders team mailing list archive

[Bug 866979] Re: process test failing on windows

 

The last diff I sent on e-mail to try fix the Windows problem

** Patch added: "process.diff"
   https://bugs.launchpad.net/zorba/+bug/866979/+attachment/2532569/+files/process.diff

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/866979

Title:
  process test failing on windows

Status in Zorba - The XQuery Processor:
  New

Bug description:
  1398: === Query: ===
  1398: import module namespace proc = "http://www.zorba-xquery.com/modules/process";;
  1398:
  1398: let $stdOutTest := proc:exec("echo","hello world")
  1398: let $stdErrTest := proc:exec("echo","Ooops. an error. 1>&2")
  1398: return
  1398:   <result>
  1398:     <out>{normalize-space(data($stdOutTest/stdout))}</out>
  1398:     <err>{normalize-space(data($stdErrTest/stderr))}</err>
  1398:   </result>
  1398: === end of Query ===
  1398: [FAILURE] command execution failed. Exit code: 1
  1398: [FAILURE] command execution failed. Exit code: 1
  1398: === Result: ===
  1398: <result><out/><err>'"echo"' is not recognized as an internal or external command, operable program or batch file.</err></result>
  1398: === end of result ===
  1398: testdriver: non-canonical result for reference result # 1 doesn't match.
  1398:
  1398: Actual and Reference canonical results are not identical
  1398:
  1398: Actual Canonical Result:
  1398:
  1398: <root><result><out></out><err>'"echo"' is not recognized as an internal or external command, operable program or batch file.</err></result></root>
  1398:
  1398:
  1398: Reference Canonical Result:
  1398:
  1398: <root><result><out>hello world</out><err>Ooops. an error.</err></result></root>
  1398:
  1398:
  1398: See line 1, col 19 of expected result.
  1398: Actual:   <<root><result><out></out><err>'"echo"' is not recognized as an internal or external command, operable program or batch file.</err></result></root>>
  1398: Expected: <<root><result><out>hello world</out><err>Ooops. an error.</err></result></root>>
  1398: testdriver: canonical result for reference result # 1 doesn't match.
  1398: testdriver: none of the reference results matched

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866979/+subscriptions