/ Documentation / Tests / ODD read
en | ru

ODD read (odd_read)

This test checks for workability and correct optical discs reading of ODDs. It detects if disc is already loaded and tries to run test non-interactively (without any humans nearby). It reads needed number of blocks (trying readcd or dd), calculates their checksums and compares with specified. So, we can determine either drives works fine or not. Also, simultaneously it acts as a monitoring, measuring disc reading speed.

  • Components tested: ODD
  • Variables:
    • FORCE_NON_INTERACTIVE (boolean, default: false) — Force non-interactive mode for already prepared system
    • MESH_POINTS (int, default: 1024) — Points for meshes for monitoring drive’s speed
    • TEST_IMAGE_BLOCKS (int, default: 332800) — This images size in blocks (2048 bytes each)
    • TEST_IMAGE_HASH (string, default: 6fa7786eef2e11d36e8bc1663679f161) — Default image for comparison hash