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

Open
opened 2018-10-31 23:52:38 +00:00 by SuzanneSoy · 0 comments
SuzanneSoy commented 2018-10-31 23:52:38 +00:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: suzanne.soy/os-test-framework#46
No description provided.