Add tests for server/config.go

The tests are trying to read an write configuration files and check that the
fields are being set or saved properly.

A folder fixtures/ was created on server/ as well adding an example crio.conf
file to it.

Note: some extra paths about Vagrant and VSCode were added to gitignore.
Signed-off-by: Álex González <agonzalezro@gmail.com>
This commit is contained in:
Álex González 2017-11-12 22:54:34 +01:00
parent edf2300205
commit c3f86cd016
No known key found for this signature in database
GPG key ID: 5B05411474F6172C
3 changed files with 135 additions and 0 deletions

5
.gitignore vendored
View file

@ -11,3 +11,8 @@
/test/bin2img/bin2img
/test/checkseccomp/checkseccomp
/test/copyimg/copyimg
Vagrantfile
.vagrant/
.vscode/