tests: use grep -E instead of obsolescent egrep
Testing on Fedora 38 failed with: egrep: warning: egrep is obsolescent; using grep -E The warning comes from https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1 . For further anecdotal evidence of the change, see https://www.phoronix.com/news/GNU-Grep-3.8-Stop-egrep-fgrep . This reverses the code check that goes back to e7d3b509af8b. grep -E is POSIX, but there is a risk that it doesn't work the same on all platforms - especially older Unix versions. It should however always be possible to put a GNU grep in $PATH before running the tests.
Showing
- contrib/check-code.py 1 addition, 4 deletionscontrib/check-code.py
- tests/remotefilelog-library.sh 1 addition, 1 deletiontests/remotefilelog-library.sh
- tests/test-archive.t 3 additions, 3 deletionstests/test-archive.t
- tests/test-bad-extension.t 2 additions, 2 deletionstests/test-bad-extension.t
- tests/test-blackbox.t 1 addition, 1 deletiontests/test-blackbox.t
- tests/test-chg.t 9 additions, 9 deletionstests/test-chg.t
- tests/test-clone-stream-format.t 1 addition, 1 deletiontests/test-clone-stream-format.t
- tests/test-clone.t 1 addition, 1 deletiontests/test-clone.t
- tests/test-context-metadata.t 1 addition, 1 deletiontests/test-context-metadata.t
- tests/test-contrib-perf.t 1 addition, 1 deletiontests/test-contrib-perf.t
- tests/test-convert-cvs-synthetic.t 1 addition, 1 deletiontests/test-convert-cvs-synthetic.t
- tests/test-convert-hg-svn.t 1 addition, 1 deletiontests/test-convert-hg-svn.t
- tests/test-convert-svn-source.t 1 addition, 1 deletiontests/test-convert-svn-source.t
- tests/test-copies-chain-merge.t 4 additions, 4 deletionstests/test-copies-chain-merge.t
- tests/test-copies-in-changeset.t 5 additions, 5 deletionstests/test-copies-in-changeset.t
- tests/test-debian-packages.t 4 additions, 4 deletionstests/test-debian-packages.t
- tests/test-debugcommands.t 1 addition, 1 deletiontests/test-debugcommands.t
- tests/test-devel-warnings.t 3 additions, 3 deletionstests/test-devel-warnings.t
- tests/test-dirstate-version-fallback.t 1 addition, 1 deletiontests/test-dirstate-version-fallback.t
- tests/test-docker-packaging.t 2 additions, 2 deletionstests/test-docker-packaging.t
Loading
Please register or sign in to comment