2018-12-23 06:59:57 +08:00
|
|
|
const oracledb = require('oracledb');
|
|
|
|
const should = require('should');
|
|
|
|
|
2019-03-18 11:00:22 +08:00
|
|
|
delete process.env.ORACLE_HOME;
|
|
|
|
|
2018-12-23 06:59:57 +08:00
|
|
|
describe('deferLibInit1.js', () => {
|
|
|
|
|
|
|
|
it('child process #1 of test/deferLibInit.js', () => {
|
|
|
|
const ld = process.env.LD_LIBRARY_PATH;
|
|
|
|
should.not.exist(ld);
|
|
|
|
|
|
|
|
should.exist(oracledb.versionString);
|
|
|
|
(oracledb.versionString).should.be.a.String();
|
|
|
|
});
|
2019-03-18 11:00:22 +08:00
|
|
|
});
|