tests: remove piping of command git init to remove leading path
In many cases we were piping to a python script to strip out the varying leading path to the test repos. This is no longer needed, as the modern run-test.py automatically substitutes the leading path as $TESTTMP. Eliminating the piping makes the tests easier to read and write, as well as allowing the exit codes to be verified by the test.
Showing
- tests/test-conflict-1.t 2 additions, 3 deletionstests/test-conflict-1.t
- tests/test-conflict-2.t 2 additions, 3 deletionstests/test-conflict-2.t
- tests/test-convergedmerge.t 2 additions, 3 deletionstests/test-convergedmerge.t
- tests/test-empty-working-tree.t 4 additions, 6 deletionstests/test-empty-working-tree.t
- tests/test-encoding.t 4 additions, 6 deletionstests/test-encoding.t
- tests/test-file-removal.t 4 additions, 6 deletionstests/test-file-removal.t
- tests/test-git-clone.t 2 additions, 3 deletionstests/test-git-clone.t
- tests/test-git-submodules.t 4 additions, 6 deletionstests/test-git-submodules.t
- tests/test-git-tags.t 2 additions, 3 deletionstests/test-git-tags.t
- tests/test-hg-author.t 2 additions, 3 deletionstests/test-hg-author.t
- tests/test-hg-branch.t 2 additions, 3 deletionstests/test-hg-branch.t
- tests/test-hg-tags.t 2 additions, 3 deletionstests/test-hg-tags.t
- tests/test-incoming.t 2 additions, 3 deletionstests/test-incoming.t
- tests/test-keywords.t 2 additions, 3 deletionstests/test-keywords.t
- tests/test-merge.t 4 additions, 6 deletionstests/test-merge.t
- tests/test-octopus.t 4 additions, 6 deletionstests/test-octopus.t
- tests/test-outgoing.t 2 additions, 3 deletionstests/test-outgoing.t
- tests/test-pull-after-strip.t 2 additions, 3 deletionstests/test-pull-after-strip.t
- tests/test-pull.t 2 additions, 3 deletionstests/test-pull.t
- tests/test-push.t 2 additions, 3 deletionstests/test-push.t
Loading
Please register or sign in to comment