diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh
index 691b0f8540ea6a31f32b3426a8d1000687d59aea..6dc55b56b866cb8b62d2eeda97621a135162c0ef 100755
--- a/tests/lavfi-regression.sh
+++ b/tests/lavfi-regression.sh
@@ -82,6 +82,7 @@ if [ -n "$do_pixfmts_be" ] || [ -n "$do_pixfmts_le" ]; then
             output=pixfmts-${filter}-${pix_fmt}.nut
             do_video_encoding $output "" \
                 "-vf slicify=random,format=$pix_fmt,$filter_args -vcodec rawvideo -pix_fmt $pix_fmt"
+            rm ${outfile}${output}
         done
     done
 fi