[ 
https://issues.apache.org/jira/browse/SOLR-14028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16990331#comment-16990331
 ] 

Kevin Risden commented on SOLR-14028:
-------------------------------------

Yea I was just looking into determining if a path is a glob. Looks like 
File#toPath() or Paths#get will throw an illegal path exception on Windows but 
not on Unix. We can use that to fix the logic in SimplePostTool.

Basically try/catch {Paths.get(args[j])} if valid then do regular 
directory/file stuff. Otherwise fallback to glob. 

I can work on a patch for that.

> Fix test permissions for TestSolrCLIRunExample
> ----------------------------------------------
>
>                 Key: SOLR-14028
>                 URL: https://issues.apache.org/jira/browse/SOLR-14028
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Major
>         Attachments: TEST-org.apache.solr.util.TestSolrCLIRunExample.xml, 
> security_debug-TEST-org.apache.solr.util.TestSolrCLIRunExample.xml.zip, 
> security_debug-tests-failures.txt.zip, tests-failures.txt
>
>
> This was found while looking at SOLR-14001. It fails on Windows:
> {code:java}
> ant test  -Dtestcase=TestSolrCLIRunExample 
> -Dtests.method=testTechproductsExample -Dtests.seed=8E1D2F05CF2F7CAF 
> -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=ms-SG 
> -Dtests.timezone=Europe/Paris -Dtests.asserts=true -Dtests.file.encoding=UTF-8
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to