test: set module loading error for aix#14511
test: set module loading error for aix#14511prakaashkpk wants to merge 1 commit intonodejs:masterfrom prakaashkpk:aix-error-message
Conversation
gireeshpunathil
left a comment
There was a problem hiding this comment.
Thanks @prakaashkpk for contributing!
tniessen
left a comment
There was a problem hiding this comment.
Code looks good, even though I cannot confirm the correctness for AIX.
|
previous CI was either hung or abandoned. Issued a fresh one. |
There was a problem hiding this comment.
This line exceeds 80 characters, please format the code according to our style guidelines.
There was a problem hiding this comment.
I have made the changes accordingly. Please review.
|
cc/ @nodejs/platform-aix |
In test/parallel/test-module-loading-error.js, an attempt is made to load a text file as a native executable. This gives error messages in a platform specific manner. AIX was not included in the list of platforms. This fix introduces the AIX error messages.
In test/parallel/test-module-loading-error.js, an attempt is made to load a text file as a native executable. This results in an error message in a platform specific manner. AIX was not included in the list of platforms. This fix introduces the AIX error messages. PR-URL: #14511 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
|
Landed in 8172c8a, thank you for your contribution! 🎉 The trailing whitespace caused the CI linter failure. In the future, you might want to use an editor with |
In test/parallel/test-module-loading-error.js, an attempt is made to load a text file as a native executable. This results in an error message in a platform specific manner. AIX was not included in the list of platforms. This fix introduces the AIX error messages. PR-URL: #14511 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
In test/parallel/test-module-loading-error.js, an attempt is made to load a text file as a native executable. This results in an error message in a platform specific manner. AIX was not included in the list of platforms. This fix introduces the AIX error messages. PR-URL: #14511 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
In test/parallel/test-module-loading-error.js, an attempt is made to
load a text file as a native executable. This gives error messages in a
platform specific manner.
AIX was not included in the list of platforms. This fix introduces
the AIX error messages.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)