Use xargs -0 instead of --null
This gives compatibility with OS X in the test. Change-Id: I718049f9f57055ae57acad252b72887ebc7f748f
This commit is contained in:
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 api* -type f -regex '.*\.pot?' -print0|xargs --null -n 1 msgfmt --check-format -o /dev/null"
|
bash -c "find api* -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user