Add a test for the case where the symlink points to a non-existing directory. This confirms the behaviour is identical to the one in v22.0 (using boost):
node0 stderr ************************
EXCEPTION: N5boost10filesystem16filesystem_errorE
boost::filesystem::create_directory: File exists: "/tmp/bitcoin_func_test_jozyx4wp/node0/regtest/blocks"
bitcoin in AppInit()