jadams-tresys commented on code in PR #812:
URL: https://github.com/apache/daffodil/pull/812#discussion_r927896449
##########
daffodil-cli/src/it/scala/org/apache/daffodil/parsing/TestCLIParsing.scala:
##########
@@ -1278,18 +1278,18 @@ class TestCLIparsing {
}
}
- @Test def test_XXX_CLI_Parsing_SimpleParse_sax(): Unit = {
+ @Test def test_XXX_CLI_Parsing_SimpleParse_exi(): Unit = {
val schemaFile =
Util.daffodilPath("daffodil-test/src/test/resources/org/apache/daffodil/section00/general/generalSchema.dfdl.xsd")
val (testSchemaFile) = if (Util.isWindows) (Util.cmdConvert(schemaFile))
else (schemaFile)
val shell = Util.start("")
try {
- val cmd = String.format(Util.echoN("Hello") + "| %s parse -I sax -s %s
-r e1", Util.binPath, testSchemaFile)
+ val cmd = String.format(Util.echoN("Hello") + "| %s parse -I exi -s %s
-r e1 | md5sum", Util.binPath, testSchemaFile)
Review Comment:
Yes, this would fail. I have simply disabled this test on windows as there
isn't a straightforward way to get a hash of the output of a command and I'm
hesitant to deal with temporary files and cleaning them up without some sort of
more secure API beyond just redirecting output to a file.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]