Add test for validity of directory caches that somehow got lost (reported
    by make distcheck).
2 files changed