mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-07 07:13:20 +00:00
tests/fate-run: Sanitize test argument
test -z is a binary operator. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
81c2557691
commit
5e2b0862eb
@ -243,7 +243,7 @@ enc_dec(){
|
|||||||
-f $dec_fmt_out -y $tdecfile || return
|
-f $dec_fmt_out -y $tdecfile || return
|
||||||
do_md5sum $decfile
|
do_md5sum $decfile
|
||||||
tests/tiny_psnr${HOSTEXECSUF} $srcfile $decfile $cmp_unit $cmp_shift
|
tests/tiny_psnr${HOSTEXECSUF} $srcfile $decfile $cmp_unit $cmp_shift
|
||||||
test -z $ffprobe_opts || \
|
test -z "$ffprobe_opts" || \
|
||||||
run ffprobe${PROGSUF}${EXECSUF} -bitexact $ffprobe_opts $tencfile || return
|
run ffprobe${PROGSUF}${EXECSUF} -bitexact $ffprobe_opts $tencfile || return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -268,7 +268,7 @@ transcode(){
|
|||||||
echo $(wc -c $encfile)
|
echo $(wc -c $encfile)
|
||||||
ffmpeg $DEC_OPTS $final_decode -i $tencfile $ENC_OPTS $FLAGS $final_encode \
|
ffmpeg $DEC_OPTS $final_decode -i $tencfile $ENC_OPTS $FLAGS $final_encode \
|
||||||
-f framecrc - || return
|
-f framecrc - || return
|
||||||
test -z $ffprobe_opts || \
|
test -z "$ffprobe_opts" || \
|
||||||
run ffprobe${PROGSUF}${EXECSUF} -bitexact $ffprobe_opts $tencfile || return
|
run ffprobe${PROGSUF}${EXECSUF} -bitexact $ffprobe_opts $tencfile || return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -288,7 +288,7 @@ stream_remux(){
|
|||||||
-f $enc_fmt -y $tencfile || return
|
-f $enc_fmt -y $tencfile || return
|
||||||
ffmpeg $DEC_OPTS -i $tencfile $ENC_OPTS $FLAGS $final_decode \
|
ffmpeg $DEC_OPTS -i $tencfile $ENC_OPTS $FLAGS $final_decode \
|
||||||
-f framecrc - || return
|
-f framecrc - || return
|
||||||
test -z $ffprobe_opts || \
|
test -z "$ffprobe_opts" || \
|
||||||
run ffprobe${PROGSUF}${EXECSUF} -bitexact $ffprobe_opts $tencfile || return
|
run ffprobe${PROGSUF}${EXECSUF} -bitexact $ffprobe_opts $tencfile || return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user