Skip to content

Integration tests fail with space in path #14055

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

Closed
2 of 6 tasks
kdumontnu opened this issue Dec 18, 2020 · 0 comments · Fixed by #14056
Closed
2 of 6 tasks

Integration tests fail with space in path #14055

kdumontnu opened this issue Dec 18, 2020 · 0 comments · Fixed by #14056

Comments

@kdumontnu
Copy link
Contributor

  • Gitea version (or commit ref): fdaa050
  • Git version:
  • Operating system: Windows
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No

Description

When I run integration tests with the following:

TEST_PGSQL_HOST=127.0.0.1:5432 TEST_PGSQL_DBNAME=gitea_test TEST_PGSQL_USERNAME=gitea TEST_PGSQL_PASSWORD=gitea TEST_PGSQL_SCHEMA='' make test-pgsql#Download

I get an error from make: /usr/bin/sh: -: command not found.

Root cause is the space in my base path which isn't handled by make ${CURDIR}.

@go-gitea go-gitea locked and limited conversation to collaborators Feb 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant