fix symlinks in realpath test case