Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve BaseX server test for Windows #580

Closed
AirQuick opened this issue Jun 25, 2019 · 0 comments · Fixed by #587
Closed

Improve BaseX server test for Windows #580

AirQuick opened this issue Jun 25, 2019 · 0 comments · Fixed by #587
Assignees
Labels
Milestone

Comments

@AirQuick
Copy link
Member

BaseX server test for Windows has some room for improvement:

  • BaseX batch files are run within the current batch file context. They can pollute the environment. They should be run in a child process.

    rem Start BaseX server
    call "%BASEX_HOME%\bin\basexhttp.bat" -S

    rem Stop BaseX server
    call "%BASEX_HOME%\bin\basexhttpstop.bat"

  • A slash should be replaced with a backslash, though the slash seems to be working.

    rem Output file
    set "EXPECTED_REPORT=%WORK_DIR%/xquery-tutorial-result.html"

@AirQuick AirQuick added the test label Jun 25, 2019
@AirQuick AirQuick self-assigned this Jun 25, 2019
@AirQuick AirQuick added this to the v1.5.0 milestone Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant