mirror of https://github.com/cutefishos/calamares
[partition] Fix up tests
- Although we long ago replaced the getPartitions implementation, the
test is still there, and on a machine with no /dev/sda (e.g. because
root is on nvme) the echo-awk-shell-pipeline can give an empty string;
this is turned into a QStringList{""} which has one element, while
the new version has 0 elements.
- Special-case the test that empty strings should be empty lists, rather
than 1-element lists with an empty element.
main
parent
a0b4b2bf5e
commit
f8df49e40f
Loading…
Reference in New Issue