process test failing on windows

Bug #866979 reported by Gabriel Petrovay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Matthias Brantner

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

Revision history for this message
Gabriel Petrovay (gabipetrovay) wrote :

added as expected_failure in test/rbkt/Queries/CMakeLists.txt

Revision history for this message
Gabriel Petrovay (gabipetrovay) wrote :

I guess this is related to the problem we discussed on email.

This is now disabled from:
zorba_modules/process/CMakeLists.txt
only for Windows

Changed in zorba:
status: Fix Released → New
assignee: Dennis Knochenwefel (dennis-knochenwefel) → Matthias Brantner (matthias-brantner)
Revision history for this message
Gabriel Petrovay (gabipetrovay) wrote :

I mean marked as EXPECTED_FAILURE (not disabled)

Revision history for this message
Gabriel Petrovay (gabipetrovay) wrote :

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

Chris Hillery (ceejatec)
tags: removed: v2.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.