Use relative path to find profiles in Images/Service checks
Change-Id: Id88b7b40296c35231a5097a427edc91f175962d4
diff --git a/src/test/cord-api/Tests/Ch_DefaultServiceCheck.txt b/src/test/cord-api/Tests/Ch_DefaultServiceCheck.txt
index 07c7a68..2613475 100644
--- a/src/test/cord-api/Tests/Ch_DefaultServiceCheck.txt
+++ b/src/test/cord-api/Tests/Ch_DefaultServiceCheck.txt
@@ -15,7 +15,7 @@
${USER} admin
${PASSWORD} admin
${PROFILE} mock-rcord
-${PROFILE_FILE} %{HOME}/cord/build/platform-install/profile_manifests/${PROFILE}.yml
+${PROFILE_FILE} ${CURDIR}/../../../../../../build/platform-install/profile_manifests/${PROFILE}.yml
*** Test Cases *** TYPE
Test Service Sanity
@@ -41,4 +41,4 @@
Log ${json_result_list}
${dList}= Get Variable Value ${dynamicServiceList}
${test_result}= utils.compare_list_of_dicts ${dList} ${json_result_list}
- Should Be True ${test_result}
\ No newline at end of file
+ Should Be True ${test_result}
diff --git a/src/test/cord-api/Tests/Ch_defaultImagesCheck.txt b/src/test/cord-api/Tests/Ch_defaultImagesCheck.txt
index 3346864..1dabe13 100644
--- a/src/test/cord-api/Tests/Ch_defaultImagesCheck.txt
+++ b/src/test/cord-api/Tests/Ch_defaultImagesCheck.txt
@@ -14,7 +14,7 @@
${USER} admin
${PASSWORD} admin
${PROFILE} mock-rcord
-${PROFILE_FILE} %{HOME}/cord/build/platform-install/profile_manifests/${PROFILE}.yml
+${PROFILE_FILE} ${CURDIR}/../../../../../../build/platform-install/profile_manifests/${PROFILE}.yml
${PATHFILE} ${CURDIR}/data/defaultImages.json
*** Test Cases *** TYPE