summaryrefslogtreecommitdiffstats
path: root/test/afb-test
diff options
context:
space:
mode:
Diffstat (limited to 'test/afb-test')
-rw-r--r--[-rwxr-xr-x]test/afb-test/fixtures/removePlatforInfoDirectory.sh2
-rw-r--r--test/afb-test/tests/aft-BasicAPITests.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/afb-test/fixtures/removePlatforInfoDirectory.sh b/test/afb-test/fixtures/removePlatforInfoDirectory.sh
index 8e87636..d23c2fb 100755..100644
--- a/test/afb-test/fixtures/removePlatforInfoDirectory.sh
+++ b/test/afb-test/fixtures/removePlatforInfoDirectory.sh
@@ -23,4 +23,4 @@ set -e
#set SUDO variable
SUDO=$(command -v sudo)
-"${SUDO}" rm -rf "/etc/platform-info"
+"${SUDO}" rm -rf "/etc/platform-info/*"
diff --git a/test/afb-test/tests/aft-BasicAPITests.lua b/test/afb-test/tests/aft-BasicAPITests.lua
index 73cdd8e..b2d4bdd 100644
--- a/test/afb-test/tests/aft-BasicAPITests.lua
+++ b/test/afb-test/tests/aft-BasicAPITests.lua
@@ -53,7 +53,7 @@ _AFT.setBeforeAll(function()
end)
-- This tests the 'get' verb of the platform-info API
-_AFT.testVerbStatusSuccess(testPrefix.."get", "platform-info", "get", ".build.layers.agl-manifest.revision")
+_AFT.testVerbStatusSuccess(testPrefix.."get", "platform-info", "get", ".layers.agl-manifest")
-- This tests the 'get' verb of the platform-info API
_AFT.testVerbStatusSuccess(testPrefix.."get", "platform-info", "get", {})