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

Nicolas Gaullier nicolas.gaullier at cji.paris
Tue Mar 12 14:00:26 EET 2024


Regression since 0b98f28c46a7e3e914c51debc461

Signed-off-by: Nicolas Gaullier <nicolas.gaullier at 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=$?
-- 
2.30.2



More information about the ffmpeg-devel mailing list