Subject: bug#44602: runtest fails when objdir in site.exp contains spaces.

From: Robert Menteer <[email-masked]>
Date: Thu, 12 Nov 2020 17:40:24 -0500

When the value of objdir in site.exp contains spaces (even if it’s quoted) runtest fails.

parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels Shared Folders/FlDist/trunk/testsuite$ runtest
ERROR: tcl error sourcing /home/parallels/Desktop/Parallels Shared Folders/FlDist/trunk/testsuite/site.exp.
bad option "/home/parallels/Desktop/Parallels": must be -encoding
    while executing
"source /home/parallels/Desktop/Parallels Shared Folders/FlDist/trunk/testsuite/site.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source /home/parallels/Desktop/Parallels Shared Folders/FlDist/trunk/testsuite/site.exp"
    invoked from within
"catch "uplevel #0 source $file""
parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels Shared Folders/FlDist/trunk/testsuite$ cat site.exp 
## these variables are automatically generated by make ##
# Do not edit here.  If you wish to override these values
# edit the last section
set srcdir "."
set objdir "/home/parallels/Desktop/Parallels Shared Folders/FlDist/trunk/testsuite"
## End of auto-generated content; you can edit from here. ##
parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels Shared Folders/FlDist/trunk/testsuite$ 

Thanks,
Bob Menteer