disable-fit-image-tests
authorVagrant Cascadian <vagrant@debian.org>
Tue, 5 Apr 2022 16:26:39 +0000 (17:26 +0100)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 5 Apr 2022 16:26:39 +0000 (17:26 +0100)
Disable FIT image tests.

FIT images were made more robust in light of CVE-2021-27097 and
CVE-2021-27138, but test-imagetools.sh was not updated to reflect
those changes.

Reported upstream: https://lists.denx.de/pipermail/u-boot/2021-March/443460.html

Gbp-Pq: Name disable-fit-image-tests

test/image/test-imagetools.sh

index 6133340ba3a980a9db1c8bf479975b1bea4fabc1..144748945c511c8b4a64e824da6e3e1cc499077b 100755 (executable)
@@ -204,18 +204,6 @@ main()
        list_image ${IMAGE_MULTI}
        assert_equal ${DUMPIMAGE_LIST} ${MKIMAGE_LIST}
 
-       # Compress and extract FIT images, compare the result
-       create_fit_image
-       extract_fit_image
-       for file in ${DATAFILES}; do
-               assert_equal ${file} ${SRCDIR}/${file}
-       done
-       assert_equal ${TEST_OUT} ${DATAFILE2}
-
-       # List contents of FIT image and compares output from tools
-       list_image ${IMAGE_FIT_ITB}
-       assert_equal ${DUMPIMAGE_LIST} ${MKIMAGE_LIST}
-
        # Remove files created
        cleanup