From 53b89482485a5beb7464147f816fb6c878a4f011 Mon Sep 17 00:00:00 2001 From: Edmund Haselwanter Date: Thu, 15 May 2014 20:57:44 +0200 Subject: [PATCH 1/2] explain the usage --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index d6ba088..839aeb1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,15 @@ tests-os-hardening ================== + +This are the integration tests for the projects + +- https://github.com/TelekomLabs/puppet-os-hardening +- https://github.com/TelekomLabs/chef-os-hardening + +they start at `integration` level + +you can use the gem `kitchen-sharedtests` + +- https://github.com/ehaselwanter/kitchen-sharedtests/ + +to make them available to your project. Use `thor kitchen:fetch-remote-tests` to put the repo into `test/integration` From fd1b4bd7e039574ffb947163fc66dd0edb85d5f5 Mon Sep 17 00:00:00 2001 From: Edmund Haselwanter Date: Thu, 15 May 2014 20:59:29 +0200 Subject: [PATCH 2/2] only share the integration directory contents, see readme --- {integration/default => default}/serverspec/spec_helper.rb | 0 {integration/default => default}/serverspec/sysctl_spec.rb | 0 .../serverspec/modules_spec.rb | 0 .../serverspec/spec_helper.rb | 0 .../serverspec/sysctl_spec.rb | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename {integration/default => default}/serverspec/spec_helper.rb (100%) rename {integration/default => default}/serverspec/sysctl_spec.rb (100%) rename {integration/modules_disabled => modules_disabled}/serverspec/modules_spec.rb (100%) rename {integration/modules_disabled => modules_disabled}/serverspec/spec_helper.rb (100%) rename {integration/modules_disabled => modules_disabled}/serverspec/sysctl_spec.rb (100%) diff --git a/integration/default/serverspec/spec_helper.rb b/default/serverspec/spec_helper.rb similarity index 100% rename from integration/default/serverspec/spec_helper.rb rename to default/serverspec/spec_helper.rb diff --git a/integration/default/serverspec/sysctl_spec.rb b/default/serverspec/sysctl_spec.rb similarity index 100% rename from integration/default/serverspec/sysctl_spec.rb rename to default/serverspec/sysctl_spec.rb diff --git a/integration/modules_disabled/serverspec/modules_spec.rb b/modules_disabled/serverspec/modules_spec.rb similarity index 100% rename from integration/modules_disabled/serverspec/modules_spec.rb rename to modules_disabled/serverspec/modules_spec.rb diff --git a/integration/modules_disabled/serverspec/spec_helper.rb b/modules_disabled/serverspec/spec_helper.rb similarity index 100% rename from integration/modules_disabled/serverspec/spec_helper.rb rename to modules_disabled/serverspec/spec_helper.rb diff --git a/integration/modules_disabled/serverspec/sysctl_spec.rb b/modules_disabled/serverspec/sysctl_spec.rb similarity index 100% rename from integration/modules_disabled/serverspec/sysctl_spec.rb rename to modules_disabled/serverspec/sysctl_spec.rb