Use xargs -0 instead of --null
This gives compatibility with OS X in the test. Change-Id: Ic7ec31f8d8ab40654c81992b3fc2b8f1f1b73b4c
This commit is contained in:
parent
6d9ef96f6c
commit
d0b57929fe
2
tox.ini
2
tox.ini
@ -19,7 +19,7 @@ commands = openstack-doc-test --check-niceness {posargs}
|
|||||||
commands =
|
commands =
|
||||||
openstack-doc-test --check-syntax {posargs}
|
openstack-doc-test --check-syntax {posargs}
|
||||||
# Check that .po and .pot files are valid:
|
# Check that .po and .pot files are valid:
|
||||||
bash -c "find doc -type f -regex '.*\.pot?' -print0|xargs --null -n 1 msgfmt --check-format -o /dev/null"
|
bash -c "find doc -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
||||||
|
|
||||||
[testenv:checkdeletions]
|
[testenv:checkdeletions]
|
||||||
commands = openstack-doc-test --check-deletions {posargs}
|
commands = openstack-doc-test --check-deletions {posargs}
|
||||||
|
Loading…
Reference in New Issue
Block a user