mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
51d303e20c
commit
275add9328
|
@ -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=$?
|
||||||
|
|
Loading…
Reference in New Issue