Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colours and symbols broken on Windows #1508

Closed
trickyearlobe opened this issue Feb 24, 2017 · 1 comment
Closed

Colours and symbols broken on Windows #1508

trickyearlobe opened this issue Feb 24, 2017 · 1 comment

Comments

@trickyearlobe
Copy link
Contributor

Description

  • Passing inspec tests display white on a red backround instead of green on black.
  • Failing inspec tests display white on black instead of red on black
  • Fancy UTF-8 checkmarks show as ? or box character (depends which terminal used)

InSpec and Platform Version

  • Inspec 1.11.0, 1.14.1
  • Windows 2012R2, Windows 2008R2, Windows 10
  • Powershell, ConEmu

Replication Case

Make some sample tests with passing and failing cases
Run inspec exec <path to tests>

Possible Solutions

Pull request will follow which detects OS and uses:-

  • Basic ANSI colors instead of extended colors
  • Standard [PASS] [FAIL] messages instead of fancy UTF8 checkmarks.
@adamleff
Copy link
Contributor

Closing, fixed in #1510.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants