Add a test for #7671
drwxr-xr-x - testsuite