SuzanneSoy / os-test-framework

Test framework to run an OS in multiple emulators, as a guest graphical / text shell on linux, and so on.
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Test execution as sh & bat with spaces & newlines in path #46

Open SuzanneSoy opened 5 years ago

SuzanneSoy commented 5 years ago

The path to os.bat should contain (multiple) spaces, newlines (including trailing newlines) and other problematic characters, both in the directories and in the filename itself. This will help make sure that these characters do not trip up any code relying on $0 or $PWD.

[ ] os.bat should be executed from another directory (so that $PWD is different from dirname "$0".

It would be nice to also check that the build works when the path to the repository contains such characters.