1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

fate: fix generating references when sh=dash

Regression since 0b98f28c46

Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Nicolas Gaullier
2024-03-12 13:00:26 +01:00
committed by Marton Balint
parent 51d303e20c
commit 275add9328

View File

@@ -672,7 +672,7 @@ else
fi fi
echo "${test}:${sig:-$err}:$cmpo:$erro" >$repfile 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" echo "GEN $ref"
cp -f "$outfile" "$ref" cp -f "$outfile" "$ref"
err=$? err=$?