test: set module loading error for aix · nodejs/node@4fb755c

Original file line numberDiff line numberDiff line change

@@ -8,7 +8,9 @@ const error_desc = {

88

win32: ['%1 is not a valid Win32 application'],

99

linux: ['file too short', 'Exec format error'],

1010

sunos: ['unknown file type', 'not an ELF file'],

11-

darwin: ['file too short']

11+

darwin: ['file too short'],

12+

aix: ['Cannot load module',

13+

'Cannot run a file that does not have a valid format.']

1214

};

1315

const dlerror_msg = error_desc[process.platform];

1416