Opened 6 years ago

Closed 6 years ago

#6005 closed defect (duplicate)

Test non-default install directories

Reported by: Andreas Heuermann Owned by: Adrian Pop
Priority: high Milestone: 1.16.0
Component: Run-time Version: v1.16.0-dev
Keywords: Path environment variables Cc:

Description

Every now and then we have problems with installation paths containign spaces, e.g. ticket #6004 for the default Windows installation path.
Problem is that we don't test it (and don't test it with all features).

We should add a test that validates that

a) Spaces in a path can be handled by everything. E.g. "C:\Programm Files\OpenModelica1.16.0-dev-64bit"
b) Handle all allowed file and directory names. See for Windows the ​Doc on Naming and for Unix there is probably something similar.

We can discuss if we want to assure that a file or directory name can contain all special characters that Windows and Unix allows.
Maybe "ÅåUse all the ăîșțâåöä we can think of/OpenModelica" is a bit to much.
As long default directories are working I would be fine.

Change History (5)

comment:1 by Francesco Casella, 6 years ago

Sounds good to me :)

comment:2 by Adrian Pop, 6 years ago

We would need to check for every place a file is generated or read and add a test for it.
It is doable but it will take a while.

Last edited 6 years ago by Adrian Pop (previous) (diff)

comment:3 by anonymous, 6 years ago

Related to #5811.

comment:4 by Francesco Casella, 6 years ago

Indeed. Anything extra in the present ticket that was not mentioned in #5811?

comment:5 by Andreas Heuermann, 6 years ago

Resolution: → duplicate
Status: new → closed

No, I'll close this one than.

Note: See TracTickets for help on using tickets.