openvswitch: fix ptest contains reference to TMPDIR [buildpaths]
PATCH 1/1 openvswitch: fix ptest contains reference to TMPDIR [buildpaths]
From: Bin Lan <[email protected]>
The EGREP in ptest/tests/atlocal contains the build paths. The CFLAGS in ptest/tests/atlocal contains the build paths. This change set fixs:
- set EGREP to "grep -E" in ptest/tests/atlocal
- set CFLAGS to " " in ptest/tests/atlocal
by updating the patch openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch.
--- ...est-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch +10 -1
@@ -16,6 +16,13 @@ Signed-off-by: He Zhe <[email protected]> refresh patch to fix patch-fuzz warning Signed-off-by: Changqing Li <[email protected]> +Refresh patch to fix file ptest/tests/atlocal +contains reference to TMPDIR [buildpaths]. The fix is: + - set EGREP to "grep -E" in ptest/tests/atlocal + - set CFLAGS to " " in ptest/tests/atlocal + +Signed-off-by: Bin Lan <[email protected]> + Upstream-Status: Inappropriate [embedded specific] --- Makefile.am | 1 +
@@ -37,7 +44,7 @@ new file mode 100644 index 0000000..0b4587c --- /dev/null +++ b/test.mk -@@ -0,0 +1,74 @@ +@@ -0,0 +1,76 @@ +TEST_DEST ?= ${prefix}/lib/openvswitch +TEST_ROOT ?= ${prefix}/lib/openvswitch +TEST_DEPEND =
@@ -112,3 +119,5 @@ index 0000000..0b4587c + sed -i 's|$$srcdir|$$abs_srcdir|g' $(TEST_DEST)/tests/testsuite + sed -i 's|ovs-appctl-bashcomp\.bash|/etc/bash_completion.d/ovs-appctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite + sed -i 's|ovs-vsctl-bashcomp\.bash|/etc/bash_completion.d/ovs-vsctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite ++ sed -i 's|EGREP=.*|EGREP='"'"'grep -E'"'"'|g' $(TEST_DEST)/tests/atlocal ++ sed -i 's|CFLAGS=.*|CFLAGS='"'"' '"'"'|g' $(TEST_DEST)/tests/atlocal
merged.
Bruce
In message: [scarthgap][PATCH] openvswitch: fix ptest contains reference to TMPDIR [buildpaths]
Quoted 49 lines · on 31/03/2025 [email protected] wrote:
From: Bin Lan <[email protected]>
The EGREP in ptest/tests/atlocal contains the build paths. The CFLAGS in ptest/tests/atlocal contains the build paths. This change set fixs:
- set EGREP to "grep -E" in ptest/tests/atlocal
- set CFLAGS to " " in ptest/tests/atlocal
by updating the patch openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch.Signed-off-by Bin Lan <[email protected]>Signed-off-by Bruce Ashfield <[email protected]>--- ...est-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch +10
-1@@ -16,6 +16,13 @@ Signed-off-by: He Zhe <[email protected]> refresh patch to fix patch-fuzz warning Signed-off-by: Changqing Li <[email protected]> +Refresh patch to fix file ptest/tests/atlocal +contains reference to TMPDIR [buildpaths]. The fix is: + - set EGREP to "grep -E" in ptest/tests/atlocal + - set CFLAGS to " " in ptest/tests/atlocal + +Signed-off-by: Bin Lan <[email protected]> + Upstream-Status: Inappropriate [embedded specific] --- Makefile.am | 1 +@@ -37,7 +44,7 @@ new file mode 100644 index 0000000..0b4587c --- /dev/null +++ b/test.mk -@@ -0,0 +1,74 @@ +@@ -0,0 +1,76 @@ +TEST_DEST ?= ${prefix}/lib/openvswitch +TEST_ROOT ?= ${prefix}/lib/openvswitch +TEST_DEPEND =@@ -112,3 +119,5 @@ index 0000000..0b4587c + sed -i 's|$$srcdir|$$abs_srcdir|g' $(TEST_DEST)/tests/testsuite + sed -i 's|ovs-appctl-bashcomp\.bash|/etc/bash_completion.d/ovs-appctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite + sed -i 's|ovs-vsctl-bashcomp\.bash|/etc/bash_completion.d/ovs-vsctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite ++ sed -i 's|EGREP=.*|EGREP='"'"'grep -E'"'"'|g' $(TEST_DEST)/tests/atlocal ++ sed -i 's|CFLAGS=.*|CFLAGS='"'"' '"'"'|g' $(TEST_DEST)/tests/atlocal