#22315: Add test to capture the failure.
#22315: Use technique outlined in test_file_util
#22315: Provide an actual directory during test invocation.
#22315: Use an existent directory for 'src' to trigger appropriate behavior.
#22315: Use advertised API for OSError