Add test from #7919
drwxr-xr-x - testsuite