Add testcase for #6011.
drwxr-xr-x - testsuite