diff mbox series

[FFmpeg-devel,RFC,3/2] FIXUP

Message ID ZxJRVlQiy1SzAHyT@metallschleim.local
State New
Headers show
Series Make fate tests succeed with zlib-ng | expand

Commit Message

Alexander Strasser Oct. 18, 2024, 12:15 p.m. UTC
---

Sorry I forgot this fixup to the previous patch, that I had in my work tree but not committed...

 tests/fate-run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
diff mbox series

Patch

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 72251ec571..bed8f7127c 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -652,7 +652,7 @@  if test -e "$ref" || test $cmp = "oneline" || test $cmp = "null" || test $cmp =
         null)   cat               "$outfile"            >$cmpfile ;;
     esac
     cmperr=$?
-    if test -e "$ref".alt && !(test $cmp = "oneline" || test $cmp = "null" || test $cmp = "grep") ; then
+    if test $cmperr != 0 && test -e "$ref".alt && !(test $cmp = "oneline" || test $cmp = "null" || test $cmp = "grep") ; then
         case $cmp in
             diff)   diff -u -b "$ref".alt "$outfile"            >$cmpfile ;;
             rawdiff)diff -u    "$ref".alt "$outfile"            >$cmpfile ;;