test-fileio: run read_virtual_file() for a couple of more interesting sizes

This commit is contained in:
Lennart Poettering
2021-05-21 21:54:44 +02:00
parent 8461d6da35
commit eff722c693
+4
View File
@@ -1069,8 +1069,12 @@ int main(int argc, char *argv[]) {
test_read_nul_string();
test_read_full_file_socket();
test_read_full_file_offset_size();
test_read_virtual_file(0);
test_read_virtual_file(1);
test_read_virtual_file(2);
test_read_virtual_file(20);
test_read_virtual_file(4096);
test_read_virtual_file(4097);
test_read_virtual_file(SIZE_MAX);
return 0;