Use xargs -0 instead of --null

This gives compatibility with OS X in the test.

Change-Id: I483b4279d0d6a5a6fe4f81b9fb07a838e17e1b0f
This commit is contained in:
Andreas Jaeger 2014-04-03 20:25:43 +02:00
parent 5f9dad21f8
commit ae41d9e367

View File

@ -22,7 +22,7 @@ commands =
flake8 {posargs}
{toxinidir}/tools/config/check_uptodate.sh
# Check that .po and .pot files are valid:
bash -c "find ironic -type f -regex '.*\.pot?' -print0|xargs --null -n 1 msgfmt --check-format -o /dev/null"
bash -c "find ironic -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}