Skip to content

tests are failing on windows #1126

Open
@rnveach

Description

@rnveach

I am trying to run build.xml's test suite and alot of them are failing out of the box on Windows 7.
I don't know if linux is any different.
The test suite returns 4 failures and 70 errors total.

One test I looked into as an example is PushLogTest. https://github.com/gitblit/gitblit/blob/db4f6b5740c6ea45d9e2209dc569bc18904a8b4d/src/test/java/com/gitblit/tests/PushLogTest.java#L35
The highlighted line has a repository that it is trying to test, but the repository points to a linux path to some user named james which is outside the scope of what is stored in the gitblit repository.
data\git is storing a repository with a similar name, so I assume the repository should be test/helloworld.git, which does pass the test.
I'm not even sure what the point of the test is as it does no assertions, and the variable pushes is not used.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions