| 314 | |
| 315 | #endif |
| 316 | int main(void) |
| 317 | { |
| 318 | try |
| 319 | { |
| 320 | const std::string text = R"M( |
| 321 | drive { |
| 322 | drive_type: DRIVETYPE_80TRACK |
| 323 | } |
| 324 | |
| 325 | layout { |
| 326 | format_type: FORMATTYPE_80TRACK |
| 327 | tracks: 20 |
| 328 | sides: 1 |
| 329 | layoutdata { |
| 330 | sector_size: 256 |
| 331 | physical { |
| 332 | start_sector: 0 |
| 333 | count: 8 |
| 334 | } |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | filesystem { |
| 339 | type: CPMFS |
| 340 | cpmfs { |
| 341 | block_size: 2048 |
| 342 | dir_entries: 64 |
| 343 | } |
| 344 | } |
| 345 | )M"; |
| 346 | google::protobuf::TextFormat::MergeFromString( |
| 347 | text, globalConfig().overrides()); |
| 348 | |
| 349 | testPartialExtent(); |
| 350 | testLogicalExtents(); |
| 351 | #if 0 |
| 352 | testBitmap(); |
| 353 | testPutGet(); |
| 354 | testPutBigFile(); |
| 355 | testDelete(); |
| 356 | testMove(); |
| 357 | testPutMetadata(); |
| 358 | #endif |
| 359 | } |
| 360 | catch (const ErrorException& e) |
| 361 | { |
| 362 | std::cerr << e.message << '\n'; |
| 363 | exit(1); |
| 364 | } |
| 365 | |
| 366 | return 0; |
| 367 | } |
nothing calls this directly
no test coverage detected