wp-cli / export-command

Exports WordPress content to a WXR file.
MIT License
12 stars 27 forks source link

Scenario "Export posts using --max_num_posts" fails on Mac OS X #23

Closed schlessera closed 6 years ago

schlessera commented 6 years ago

The Behat test scenario "Export posts using --max_num_posts" fails on Mac OS X:

image 2017-10-25 at 10 07 26 am
miya0001 commented 6 years ago

There are similar problems on wp-cli/wp-cli like following.

    When I run `TERM=vt100 COLUMNS=80 wp help test-wordwrap | wc -L`                               # features/steps/when.php:29
      $ TERM=vt100 COLUMNS=80 wp help test-wordwrap | wc -L

      wc: illegal option -- L
      usage: wc [-clmw] [file ...]
      cwd: /var/folders/r8/93smf9ld3lgdsn7ly3s5hj940000gr/T/wp-cli-test-run-help.feature.833-59f04f939bb347.62200143/
      run time: 0.27075505256653
      exit status: 1

Do you have any ideas to fix these problems?

schlessera commented 6 years ago

@miya0001 Yes, see https://github.com/wp-cli/wp-cli/issues/4466