Test err:XC0012 (p:directory-list on an inaccessible directory).
To pass this test, it must be
run in a location where there is a directory named
“directory-list-test”. The directory must have the following structure:
afile
bfile
adir/
cfile
bdir/
The directory “bdir” must not be accessible for reading.