Skip to content

Commit a3de442

Browse files
committed
test: skip FFI reentrant callback test on SmartOS
1 parent ab2bf53 commit a3de442

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/ffi/test-ffi-fast-buffer.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ test('fast FFI buffer arguments reject invalid values', () => {
7070
}
7171
});
7272

73-
test('fast FFI string buffers survive reentrant callbacks', () => {
73+
test('fast FFI string buffers survive reentrant callbacks', {
74+
// Bundled libffi callbacks crash on SmartOS.
75+
skip: common.isSunOS,
76+
}, () => {
7477
const { lib, functions } = ffi.dlopen(libraryPath, {
7578
safe_strlen: { arguments: ['string'], return: 'i32' },
7679
string_survives_callback: {

0 commit comments

Comments
 (0)