On 19 Sep 2022, at 07:44, Yanxinkuan.FNST via lists.openembedded.org 
<[email protected]> wrote:
> +do_compile_ptest() {
> +     install -d ${B}/Test/
> +     install ${S}/Test/timetest ${B}/Test/timetest
> +     sed -i "6,8d" ${B}/Test/timetest
> +}

This sed expression is incredibly fragile.  If timetest changes in the 
slightest way the sed will continue to delete lines, and who knows what will 
happen.

If the test script needs changing, please patch it.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171090): 
https://lists.openembedded.org/g/openembedded-core/message/171090
Mute This Topic: https://lists.openembedded.org/mt/93776289/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to