Skip to content
  • Andrew Gregory's avatar
    pmpkg: add missing directories to test packages · 43a2f631
    Andrew Gregory authored and Allan McRae's avatar Allan McRae committed
    
    
    Several tests require complete file lists in order to provide accurate
    results.  These can be non-obvious.  Adding missing parent directories
    helps insure the integrity of tests against human error.  Filling in
    parent directories also allows us to check that file lists are actually
    valid.
    
    There didn't seem to be a good place to do this that was always
    guaranteed to be run, so this adds a finalize() function to packages
    that will always be run before the package is actually used to allow for
    this type of tidying.
    
    Fixes FS#30723
    
    Signed-off-by: default avatarAndrew Gregory <andrew.gregory.8@gmail.com>
    Signed-off-by: default avatarAllan McRae <allan@archlinux.org>
    43a2f631