Skip to content

Conversation

@hnakamur
Copy link
Contributor

what

  • Fix instructions for running regression and unit tests.
  • Also fix instructions for updating git submodules.

why

  • The previous instructions caused test failures when running unit tests and errors when updating git submodules.

references

Tests in the following file are known to fail
when running the `unit_tests` executable at `test` directory:
test/test-cases/secrules-language-tests/transformations/phpArgsNames.json

Run `make check` at the top directory instead to ignore these failures.
(See owasp-modsecurity#3328)
The old instruction causes the following error:
```
$ git submodule foreach git pull
Entering 'bindings/python'
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

fatal: run_command returned non-zero status for bindings/python
.
```
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

README bug on the running of tests

1 participant