11cb0ef41Sopenharmony_ci'use strict'; 21cb0ef41Sopenharmony_ciconst common = require('../common'); 31cb0ef41Sopenharmony_ci 41cb0ef41Sopenharmony_ci// Flags: --pending-deprecation 51cb0ef41Sopenharmony_ci 61cb0ef41Sopenharmony_cicommon.expectWarning({ 71cb0ef41Sopenharmony_ci DeprecationWarning: [ 81cb0ef41Sopenharmony_ci ['process.binding() is deprecated. Please use public APIs instead.', 91cb0ef41Sopenharmony_ci 'DEP0111'], 101cb0ef41Sopenharmony_ci ['Directly calling process.binding(\'uv\').errname(<val>) is being ' + 111cb0ef41Sopenharmony_ci 'deprecated. Please make sure to use util.getSystemErrorName() instead.', 121cb0ef41Sopenharmony_ci 'DEP0119'], 131cb0ef41Sopenharmony_ci ] 141cb0ef41Sopenharmony_ci}); 151cb0ef41Sopenharmony_ci 161cb0ef41Sopenharmony_ciprocess.binding('uv').errname(-1); 17