parse error during 1.3.5 to 2 database upgrade

The test site is located in and the upgrade instructions want the sql and php files in the ‘root’ directory, which of course has no files so the php file gives an error. i altered the php file to include the ‘test’ directory for the ‘prepare.php’ file and the config.php file.

now I get:

Parse error: syntax error, unexpected $end in /home/here/ on line 286