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

Robert Menteer via Bug-dejagnu via <[email protected]> Thu, 12 Nov 2020 17:40:24 -0500
Newsgroups gmane.comp.sysutils.dejagnu.bugs
Message-ID <[email protected]>
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

_______________________________________________
Bug-dejagnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-dejagnu