Don't attempt to test empty directories.