Checks that all directories as specified in the test options are writeable.

check_dirs(opt)

## Arguments

opt Options list as created by test_options().