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:
parent
edf2300205
commit
c3f86cd016
3 changed files with 135 additions and 0 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -11,3 +11,8 @@
|
|||
/test/bin2img/bin2img
|
||||
/test/checkseccomp/checkseccomp
|
||||
/test/copyimg/copyimg
|
||||
|
||||
Vagrantfile
|
||||
.vagrant/
|
||||
|
||||
.vscode/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue