-- ---------------------------------------------------------------------- -- On-disk formats: serialisation, validation -- ---------------------------------------------------------------------- -- No format test case may report anything other than "ok". SELECT count(*) AS format_failures FROM cfs_run_format_tests() WHERE result <> 'ok'; SELECT test_name, result FROM cfs_run_format_tests() ORDER BY test_name; -- ---------------------------------------------------------------------- -- Sidecar path helpers -- ---------------------------------------------------------------------- SELECT count(*) AS path_failures FROM cfs_run_path_tests() WHERE result <> 'ok'; -- ---------------------------------------------------------------------- -- Structural integrity checker -- ---------------------------------------------------------------------- SELECT count(*) AS fsck_failures FROM cfs_run_fsck_tests() WHERE result <> 'ok'; SELECT test_name, result, detail FROM cfs_run_fsck_tests() ORDER BY test_name;