diff --git a/scenarios/examples/vulnerability_examples/dirtycow.xml b/scenarios/examples/vulnerability_examples/dirtycow.xml
new file mode 100644
index 000000000..aba9df04f
--- /dev/null
+++ b/scenarios/examples/vulnerability_examples/dirtycow.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+ dirtycow
+
+
+
+
+
+
+ 172.16.0.12
+
+
+
+
+ IP_addresses
+
+
+
+
diff --git a/scenarios/tests/test_scenario.xml b/scenarios/tests/test_scenario.xml
index 0368e177e..7d5e7cc5d 100644
--- a/scenarios/tests/test_scenario.xml
+++ b/scenarios/tests/test_scenario.xml
@@ -5,9 +5,9 @@
xsi:schemaLocation="http://www.github/cliffe/SecGen/scenario">
testing
-
+
-
+ 172.16.0.12
diff --git a/secgen.rb b/secgen.rb
index 9a4d97575..36bf0a8e7 100644
--- a/secgen.rb
+++ b/secgen.rb
@@ -147,7 +147,7 @@ def build_vms(scenario, project_dir, options)
Print.err "Not going to destroy #{vm_not_to_destroy}, since it does not exist"
failures_to_destroy.delete_if {|x| x == vm_not_to_destroy}
# TODO: not sure if there is a need to remove_uncreated_vms() here too? (I don't think so?)
- end
+ end # TODO: Add another elsif here to check if any tests have failed, edit the output of the tests so that it has a unique string that captures the vm name
end
failures_to_destroy = failures_to_destroy.uniq