Enabling FFDC collection for test

Resolves openbmc/openbmc-test-automation#84

Change-Id: I593bc12273fef2a8f96844a6bb5615d353c2c4bf
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_obmcrest.robot b/tests/test_obmcrest.robot
index 92d63f9..6fd246a 100644
--- a/tests/test_obmcrest.robot
+++ b/tests/test_obmcrest.robot
@@ -3,7 +3,9 @@
 ...					Details of valid interfaces can be found here...
 ...					https://github.com/openbmc/docs/blob/master/rest-api.md
 
-Resource		../lib/rest_client.robot
+Resource	  	  ../lib/rest_client.robot
+Resource          ../lib/openbmc_ffdc.robot
+Test Teardown     Log FFDC
 
 
 *** Variables ***
@@ -371,4 +373,4 @@
     : FOR    ${ELEMENT}    IN    @{jsondata["data"]}
     \   log     ${ELEMENT}
     \   ${found}=   Get Lines Matching Pattern      ${ELEMENT}      *control/power*
-    \   Return From Keyword If     '${found}' != ''     ${found}
\ No newline at end of file
+    \   Return From Keyword If     '${found}' != ''     ${found}