agl-test-framework: fix installation bug 09/28709/1
authorYan <yanxk.fnst@fujitsu.com>
Wed, 26 Apr 2023 00:32:26 +0000 (08:32 +0800)
committerYan <yanxk.fnst@fujitsu.com>
Wed, 26 Apr 2023 00:32:26 +0000 (08:32 +0800)
aio-stress should be installed to the "aio_stress" folder.

Bug-AGL: SPEC-4733

Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
Change-Id: If46baf06b9c2db8adeb7c4c8edb9948671f9ee73

meta-agl-test/recipes-tests/aio-stress/aio-stress_0.22.bb

index 4824107..d014ca1 100644 (file)
@@ -16,7 +16,7 @@ SRC_URI = "https://oss.oracle.com/~mason/aio-stress/aio-stress.c \
 S = "${WORKDIR}"
 
 FILES:${PN} += " \
-    /usr/AGL/agl-test/tests/aio-stress/resource \
+    /usr/AGL/agl-test/tests/aio_stress/resource \
 "
 
 do_compile() {
@@ -24,8 +24,8 @@ do_compile() {
 }
 
 do_install:append() {
-    install -d ${D}/usr/AGL/agl-test/tests/aio-stress/resource/
-    install -m 0755 ${WORKDIR}/aio-stress ${D}/usr/AGL/agl-test/tests/aio-stress/resource/
+    install -d ${D}/usr/AGL/agl-test/tests/aio_stress/resource/
+    install -m 0755 ${WORKDIR}/aio-stress ${D}/usr/AGL/agl-test/tests/aio_stress/resource/
 }
 
 RDEPENDS:${PN} += " \