Procházet zdrojové kódy

Renamed test suite from fastd to supernode to reflect what it is actually doing

Till Klocke před 9 roky
rodič
revize
47b3cdd459

+ 2 - 2
.kitchen.yml

@@ -22,9 +22,9 @@ platforms:
         box: ubuntu/trusty64
 
 suites:
-  - name: fastd
+  - name: supernode
     provisioner:
-      playbook: "test/application/fastd.yml"
+      playbook: "test/application/supernode.yml"
       extra_vars: {'kitchen_connection': 'smart'}
 #  - name            : group
 #    provisioner     :

+ 2 - 2
test/application/fastd.yml

@@ -5,6 +5,6 @@
   sudo         : True
   connection   : "{{ kitchen_connection | default('local') }}"
   vars_files   :
-                 - "fastd_pkg_vars.yml"
+                 - "supernode_pkg_vars.yml"
   roles        :
-                 - "fastd"
+                 - "ff-supernode"

+ 0 - 2
test/application/fastd_pkg_vars.yml

@@ -1,5 +1,3 @@
-fastd_install_from_source: false
-
 fastd_instances:
   - name: test
     bind: any:10000 interface "eth0" default ipv4

+ 8 - 0
test/integration/fastd/serverspec/test_spec.rb

@@ -52,4 +52,12 @@ describe file('/etc/fastd/test/secret.conf') do
   it { should exist }
   it { should be_file }
   its(:content) { should contain 'secret "280088c4263359417e9f2daf1771db820ab79eb4f79e3718719b2a976e8a8b5e";' }
+end
+
+describe package('batctl') do
+  it {should be_installed }
+end
+
+describe kernel_module('batman_adv') do
+  it { should be_loaded }
 end