Skip to content

Test Kitchen is an integration tool for developing and testing infrastructure code and software on isolated target platforms.

License

Notifications You must be signed in to change notification settings

mikelococo/test-kitchen-utf8-drivers

 
 

Repository files navigation

Test Kitchen - UTF-8 Drivers Fork

This is a fork of v1.2.1 of the test-kitchen gem that includes a trivial patch to address test-kitchen#485

It's particularly useful if you're using the kitchen-vagrant driver, with Vagrant's vagrant-lxc provider, and Vagrant baseboxes from vagrant-lxc-base-boxes (which have unicode characters in the baseboxes metadata.json), but it might help in any circumstance where kitchen is calling a driver via Kitchen::Driver::Base#run_command and causing character encoding problems by forcing the locale of the driver to be 'C', and by implication causing Encoding.default_external and the character set of File.read() to be US-ASCII instead of UTF-8.

For documentation about test-kitchen, visit https://github.com/test-kitchen/test-kitchen/

Usage Via Bundler

In your Gemfile, replace:

gem 'test-kitchen'

with:

gem 'test-kitchen',
  github: 'mikelococo/test-kitchen-utf8-drivers',
  branch: 'utf8-drivers'

Then bundle install and run kitchen as per normal.

(Lack of) Updates

This fork may or may not get timely updates, the release the fork branched off is listed at the top of this README. If test-kitchen fixes the bug upstream, this repo will be deleted.

About

Test Kitchen is an integration tool for developing and testing infrastructure code and software on isolated target platforms.

Resources

License

Stars

Watchers

Forks

Packages

No packages published