diff mbox series

[FFmpeg-devel] fate: fix generating references when sh=dash

Message ID 20240312120026.300183-1-nicolas.gaullier@cji.paris
State Accepted
Commit 275add93287fb9f5a9e89c097df0fc6c5c0ca9f4
Headers show
Series [FFmpeg-devel] fate: fix generating references when sh=dash | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Nicolas Gaullier March 12, 2024, noon UTC
Regression since 0b98f28c46a7e3e914c51debc461

Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
---
 tests/fate-run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Marton Balint March 12, 2024, 9:50 p.m. UTC | #1
On Tue, 12 Mar 2024, Nicolas Gaullier wrote:

> Regression since 0b98f28c46a7e3e914c51debc461
>
> Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
> ---
> tests/fate-run.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/fate-run.sh b/tests/fate-run.sh
> index 0fead78c58..9863e4f2d9 100755
> --- a/tests/fate-run.sh
> +++ b/tests/fate-run.sh
> @@ -672,7 +672,7 @@ else
> fi
> echo "${test}:${sig:-$err}:$cmpo:$erro" >$repfile
>
> -if test $err != 0 && test $gen != "no" && test "${ref#tests/data/}" == "$ref" ; then
> +if test $err != 0 && test $gen != "no" && test "${ref#tests/data/}" = "$ref" ; then
>     echo "GEN     $ref"
>     cp -f "$outfile" "$ref"
>     err=$?
> --

Will apply.

Thanks,
Marton
diff mbox series

Patch

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 0fead78c58..9863e4f2d9 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -672,7 +672,7 @@  else
 fi
 echo "${test}:${sig:-$err}:$cmpo:$erro" >$repfile
 
-if test $err != 0 && test $gen != "no" && test "${ref#tests/data/}" == "$ref" ; then
+if test $err != 0 && test $gen != "no" && test "${ref#tests/data/}" = "$ref" ; then
     echo "GEN     $ref"
     cp -f "$outfile" "$ref"
     err=$?