-
-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
Whilst debugging an issue with FreeDOS, I found it necessary to write a test to examine Truename. Strangely things were fine with the FreeDOS kernel in git (though 1.2,1.3 were broken), however I did encounter a case were FDPP was also incorrect. I've attached a test binary that I ran on qemu under MS-DOS 6.22 (7.0, 7.1 were identical) to establish the correct responses. Anyway it seems that in the following cases FDPP gets it wrong.
FAIL: (sent '\dev\nul', expected '[A-Z]:/NUL', got 'C:\DEV\NUL')
FAIL: (sent '\dev\nul.ext', expected '[A-Z]:/NUL.EXT', got 'C:\DEV\NUL.EXT')
FAIL: (sent '\nul', expected '[A-Z]:\NUL', got 'C:/NUL')
FAIL: (sent '\nul.ext', expected '[A-Z]:\NUL.EXT', got 'C:/NUL.EXT')
The results are identical if the test is run on an MFS or FAT16 drive.
Note: to be sure that the redirector played no part in FDPP's results, I '#ifdefed' QualifyFilename out.
Metadata
Metadata
Assignees
Labels
No labels