Skip to content
  • Zbigniew Jędrzejewski-Szmek's avatar
    catalog: open up catalog internals · 844ec79b
    Zbigniew Jędrzejewski-Szmek authored
    In order to write tests for the catalog functions, they
    are made non-static and start taking a 'database' parameter,
    which is the name of a file with the preprocessed catalog
    entries.
    
    This makes it possible to make test-catalog part of the
    normal test suite, since it now only operates on files
    in /tmp.
    
    Some more tests are added.
    844ec79b