mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Replace the monolithic 'test-max-disks.pl' script with a test program written in C. The program is completely equivalent to the old script, except for the enhancement that it is able to detect if disks are added to the appliance in the wrong order. The tests themselves are split out into some shell scripts: - test-27-disks: Fully tests 27 disks. This is the minimum supported configuration for all backends. - test-255-disks: Fully tests 255 disks. This is the most disks that libguestfs up to 1.36 supported. - test-add-lots-of-disks: Add ‘a lot’ of disks and exit (without any further testing). This is meant to try to exercise > 255 disk case but without being as slow as a test of the max number of disks (which takes ages, even for as few as 4000 disks). - test-max-disks: Test the maximum possible number of disks. The maximum depends on several factors, notably which backend is in use, and the limit on the number of open files. ‘test-max-disks’ is a slow test.