Skip to content

Add XeImageFileName Tests - #119

Merged
ergo720 merged 1 commit into
Cxbx-Reloaded:masterfrom
RadWolfie:impl-xeimagefilename
Aug 1, 2026
Merged

Add XeImageFileName Tests#119
ergo720 merged 1 commit into
Cxbx-Reloaded:masterfrom
RadWolfie:impl-xeimagefilename

Conversation

@RadWolfie

Copy link
Copy Markdown
Member

The minimum file path required to function is \Device\x\x, as the file extension isn't necessary to load the file.

The root directory \Device is mandatory to directly access the XBE file. This is followed by the device node, where an optional partition and subfolder path may be necessary depending on the directory from which the XBE file is read. Finally, the XBE file name is required to load the executable from the kernel side.

Some of the tests created by PatrickvL are performed first as a prerequisite. I then added new tests to validate the minimum file path behavior stated above. However, these new tests do not check for forbidden or acceptable characters besides the null terminator.


This pull request adds new tests and further verification checks on top of PatrickvL's #112 pull request.

@RadWolfie
RadWolfie marked this pull request as ready for review July 31, 2026 11:41
@ergo720
ergo720 merged commit b0e8617 into Cxbx-Reloaded:master Aug 1, 2026
1 check passed
@RadWolfie
RadWolfie deleted the impl-xeimagefilename branch August 1, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants