Fix to accommodate xyz's BMC dump path changes

BMC dump uri has changed from /xyz/openbmc_project/dump/entry/ to
/xyz/openbmc_project/dump/bmc/entry/. This change is to make dump
automation work on builds with or without this url changes.

Change-Id: I27b010d67f17efb88d60b673153fafa5a3b0565f
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/tests/test_xit.robot b/tests/test_xit.robot
index 5b06919..c60af1f 100644
--- a/tests/test_xit.robot
+++ b/tests/test_xit.robot
@@ -28,6 +28,10 @@
     [Documentation]  Verify no BMC dump exist.
     [Tags]  Verify_No_BMC_Dump_And_Application_Failures
 
+    ${resp}=  OpenBMC Get Request  ${DUMP_URI}
+    Run Keyword If  '${resp.status_code}' == '${HTTP_NOT_FOUND}'
+    ...  Set Test Variable  ${DUMP_ENTRY_URI}  /xyz/openbmc_project/dump/entry/
+
     ${resp}=  OpenBMC Get Request  ${DUMP_ENTRY_URI}list
     Should Be Equal As Strings  ${resp.status_code}  ${HTTP_NOT_FOUND}
     ...  msg=BMC dump(s) were not deleted as expected.