switch everything to node and dont use O_NONBLOCK #156
Annotations
10 errors
tests/index.test.ts > PTY > spawns and exits:
tests/index.test.ts#L62
AssertionError: expected { '0': 'pipe:[29819]', …(35) } to strictly equal { '0': 'pipe:[29819]', …(34) }
- Expected
+ Received
Object {
"0": "pipe:[29819]",
"1": "pipe:[29820]",
"10": "pipe:[29089]",
"11": "pipe:[29089]",
"110": "pipe:[23988]",
"113": "pipe:[23989]",
"12": "anon_inode:[eventfd]",
"13": "anon_inode:[eventpoll]",
"14": "pipe:[29828]",
"15": "pipe:[29828]",
"16": "anon_inode:[eventfd]",
"17": "socket:[24421]",
"18": "anon_inode:[eventpoll]",
"19": "pipe:[28254]",
"2": "pipe:[29821]",
"20": "pipe:[28254]",
"21": "anon_inode:[eventfd]",
"22": "pipe:[29836]",
"23": "anon_inode:[eventpoll]",
"24": "pipe:[29836]",
"25": "anon_inode:[eventfd]",
"26": "anon_inode:[eventpoll]",
"27": "pipe:[29102]",
"28": "/dev/null",
"29": "pipe:[29102]",
"3": "anon_inode:[eventpoll]",
"30": "anon_inode:[eventfd]",
"31": "socket:[29876]",
"33": "socket:[29878]",
+ "35": "/dev/ptmx",
"4": "pipe:[29826]",
"5": "pipe:[29826]",
"6": "pipe:[29827]",
"7": "pipe:[29827]",
"8": "anon_inode:[eventfd]",
"9": "anon_inode:[eventpoll]",
}
❯ tests/index.test.ts:62:26
|
tests/index.test.ts > PTY > spawns and exits:
tests/index.test.ts#L62
AssertionError: expected { '0': 'pipe:[29819]', …(36) } to strictly equal { '0': 'pipe:[29819]', …(35) }
- Expected
+ Received
Object {
"0": "pipe:[29819]",
"1": "pipe:[29820]",
"10": "pipe:[29089]",
"11": "pipe:[29089]",
"110": "pipe:[23988]",
"113": "pipe:[23989]",
"12": "anon_inode:[eventfd]",
"13": "anon_inode:[eventpoll]",
"14": "pipe:[29828]",
"15": "pipe:[29828]",
"16": "anon_inode:[eventfd]",
"17": "socket:[24421]",
"18": "anon_inode:[eventpoll]",
"19": "pipe:[28254]",
"2": "pipe:[29821]",
"20": "pipe:[28254]",
"21": "anon_inode:[eventfd]",
"22": "pipe:[29836]",
"23": "anon_inode:[eventpoll]",
"24": "pipe:[29836]",
"25": "anon_inode:[eventfd]",
"26": "anon_inode:[eventpoll]",
"27": "pipe:[29102]",
"28": "/dev/null",
"29": "pipe:[29102]",
"3": "anon_inode:[eventpoll]",
"30": "anon_inode:[eventfd]",
"31": "socket:[29876]",
"33": "socket:[29878]",
"35": "/dev/ptmx",
+ "36": "/dev/ptmx",
"4": "pipe:[29826]",
"5": "pipe:[29826]",
"6": "pipe:[29827]",
"7": "pipe:[29827]",
"8": "anon_inode:[eventfd]",
"9": "anon_inode:[eventpoll]",
}
❯ tests/index.test.ts:62:26
|
tests/index.test.ts > PTY > can be written to:
tests/index.test.ts#L62
AssertionError: expected { '0': 'pipe:[29819]', …(38) } to strictly equal { '0': 'pipe:[29819]', …(36) }
- Expected
+ Received
Object {
"0": "pipe:[29819]",
"1": "pipe:[29820]",
"10": "pipe:[29089]",
"11": "pipe:[29089]",
"110": "pipe:[23988]",
"113": "pipe:[23989]",
"12": "anon_inode:[eventfd]",
"13": "anon_inode:[eventpoll]",
"14": "pipe:[29828]",
"15": "pipe:[29828]",
"16": "anon_inode:[eventfd]",
"17": "socket:[24421]",
"18": "anon_inode:[eventpoll]",
"19": "pipe:[28254]",
"2": "pipe:[29821]",
"20": "pipe:[28254]",
"21": "anon_inode:[eventfd]",
"22": "pipe:[29836]",
"23": "anon_inode:[eventpoll]",
"24": "pipe:[29836]",
"25": "anon_inode:[eventfd]",
"26": "anon_inode:[eventpoll]",
"27": "pipe:[29102]",
"28": "/dev/null",
"29": "pipe:[29102]",
"3": "anon_inode:[eventpoll]",
"30": "anon_inode:[eventfd]",
"31": "socket:[29876]",
"33": "socket:[29878]",
"35": "/dev/ptmx",
"36": "/dev/ptmx",
+ "37": "/dev/ptmx",
+ "38": "/dev/ptmx",
"4": "pipe:[29826]",
"5": "pipe:[29826]",
"6": "pipe:[29827]",
"7": "pipe:[29827]",
"8": "anon_inode:[eventfd]",
"9": "anon_inode:[eventpoll]",
}
❯ tests/index.test.ts:62:26
|
tests/index.test.ts > PTY > can be written to:
tests/index.test.ts#L62
AssertionError: expected { '0': 'pipe:[29819]', …(40) } to strictly equal { '0': 'pipe:[29819]', …(38) }
- Expected
+ Received
Object {
"0": "pipe:[29819]",
"1": "pipe:[29820]",
"10": "pipe:[29089]",
"11": "pipe:[29089]",
"110": "pipe:[23988]",
"113": "pipe:[23989]",
"12": "anon_inode:[eventfd]",
"13": "anon_inode:[eventpoll]",
"14": "pipe:[29828]",
"15": "pipe:[29828]",
"16": "anon_inode:[eventfd]",
"17": "socket:[24421]",
"18": "anon_inode:[eventpoll]",
"19": "pipe:[28254]",
"2": "pipe:[29821]",
"20": "pipe:[28254]",
"21": "anon_inode:[eventfd]",
"22": "pipe:[29836]",
"23": "anon_inode:[eventpoll]",
"24": "pipe:[29836]",
"25": "anon_inode:[eventfd]",
"26": "anon_inode:[eventpoll]",
"27": "pipe:[29102]",
"28": "/dev/null",
"29": "pipe:[29102]",
"3": "anon_inode:[eventpoll]",
"30": "anon_inode:[eventfd]",
"31": "socket:[29876]",
"33": "socket:[29878]",
"35": "/dev/ptmx",
"36": "/dev/ptmx",
"37": "/dev/ptmx",
"38": "/dev/ptmx",
+ "39": "/dev/ptmx",
"4": "pipe:[29826]",
+ "40": "/dev/ptmx",
"5": "pipe:[29826]",
"6": "pipe:[29827]",
"7": "pipe:[29827]",
"8": "anon_inode:[eventfd]",
"9": "anon_inode:[eventpoll]",
}
❯ tests/index.test.ts:62:26
|
tests/index.test.ts > PTY > can be resized:
tests/index.test.ts#L62
AssertionError: expected { '0': 'pipe:[29819]', …(42) } to strictly equal { '0': 'pipe:[29819]', …(40) }
- Expected
+ Received
Object {
"0": "pipe:[29819]",
"1": "pipe:[29820]",
"10": "pipe:[29089]",
"11": "pipe:[29089]",
"110": "pipe:[23988]",
"113": "pipe:[23989]",
"12": "anon_inode:[eventfd]",
"13": "anon_inode:[eventpoll]",
"14": "pipe:[29828]",
"15": "pipe:[29828]",
"16": "anon_inode:[eventfd]",
"17": "socket:[24421]",
"18": "anon_inode:[eventpoll]",
"19": "pipe:[28254]",
"2": "pipe:[29821]",
"20": "pipe:[28254]",
"21": "anon_inode:[eventfd]",
"22": "pipe:[29836]",
"23": "anon_inode:[eventpoll]",
"24": "pipe:[29836]",
"25": "anon_inode:[eventfd]",
"26": "anon_inode:[eventpoll]",
"27": "pipe:[29102]",
"28": "/dev/null",
"29": "pipe:[29102]",
"3": "anon_inode:[eventpoll]",
"30": "anon_inode:[eventfd]",
"31": "socket:[29876]",
"33": "socket:[29878]",
"35": "/dev/ptmx",
"36": "/dev/ptmx",
"37": "/dev/ptmx",
"38": "/dev/ptmx",
"39": "/dev/ptmx",
"4": "pipe:[29826]",
"40": "/dev/ptmx",
+ "41": "/dev/ptmx",
+ "42": "/dev/ptmx",
"5": "pipe:[29826]",
"6": "pipe:[29827]",
"7": "pipe:[29827]",
"8": "anon_inode:[eventfd]",
"9": "anon_inode:[eventpoll]",
}
❯ tests/index.test.ts:62:26
|
tests/index.test.ts > PTY > can be resized:
tests/index.test.ts#L62
AssertionError: expected { '0': 'pipe:[29819]', …(44) } to strictly equal { '0': 'pipe:[29819]', …(42) }
- Expected
+ Received
Object {
"0": "pipe:[29819]",
"1": "pipe:[29820]",
"10": "pipe:[29089]",
"11": "pipe:[29089]",
"110": "pipe:[23988]",
"113": "pipe:[23989]",
"12": "anon_inode:[eventfd]",
"13": "anon_inode:[eventpoll]",
"14": "pipe:[29828]",
"15": "pipe:[29828]",
"16": "anon_inode:[eventfd]",
"17": "socket:[24421]",
"18": "anon_inode:[eventpoll]",
"19": "pipe:[28254]",
"2": "pipe:[29821]",
"20": "pipe:[28254]",
"21": "anon_inode:[eventfd]",
"22": "pipe:[29836]",
"23": "anon_inode:[eventpoll]",
"24": "pipe:[29836]",
"25": "anon_inode:[eventfd]",
"26": "anon_inode:[eventpoll]",
"27": "pipe:[29102]",
"28": "/dev/null",
"29": "pipe:[29102]",
"3": "anon_inode:[eventpoll]",
"30": "anon_inode:[eventfd]",
"31": "socket:[29876]",
"33": "socket:[29878]",
"35": "/dev/ptmx",
"36": "/dev/ptmx",
"37": "/dev/ptmx",
"38": "/dev/ptmx",
"39": "/dev/ptmx",
"4": "pipe:[29826]",
"40": "/dev/ptmx",
"41": "/dev/ptmx",
"42": "/dev/ptmx",
+ "43": "/dev/ptmx",
+ "44": "/dev/ptmx",
"5": "pipe:[29826]",
"6": "pipe:[29827]",
"7": "pipe:[29827]",
"8": "anon_inode:[eventfd]",
"9": "anon_inode:[eventpoll]",
}
❯ tests/index.test.ts:62:26
|
tests/index.test.ts > PTY > respects working directory:
tests/index.test.ts#L62
AssertionError: expected { '0': 'pipe:[29819]', …(45) } to strictly equal { '0': 'pipe:[29819]', …(44) }
- Expected
+ Received
Object {
"0": "pipe:[29819]",
"1": "pipe:[29820]",
"10": "pipe:[29089]",
"11": "pipe:[29089]",
"110": "pipe:[23988]",
"113": "pipe:[23989]",
"12": "anon_inode:[eventfd]",
"13": "anon_inode:[eventpoll]",
"14": "pipe:[29828]",
"15": "pipe:[29828]",
"16": "anon_inode:[eventfd]",
"17": "socket:[24421]",
"18": "anon_inode:[eventpoll]",
"19": "pipe:[28254]",
"2": "pipe:[29821]",
"20": "pipe:[28254]",
"21": "anon_inode:[eventfd]",
"22": "pipe:[29836]",
"23": "anon_inode:[eventpoll]",
"24": "pipe:[29836]",
"25": "anon_inode:[eventfd]",
"26": "anon_inode:[eventpoll]",
"27": "pipe:[29102]",
"28": "/dev/null",
"29": "pipe:[29102]",
"3": "anon_inode:[eventpoll]",
"30": "anon_inode:[eventfd]",
"31": "socket:[29876]",
"33": "socket:[29878]",
"35": "/dev/ptmx",
"36": "/dev/ptmx",
"37": "/dev/ptmx",
"38": "/dev/ptmx",
"39": "/dev/ptmx",
"4": "pipe:[29826]",
"40": "/dev/ptmx",
"41": "/dev/ptmx",
"42": "/dev/ptmx",
"43": "/dev/ptmx",
"44": "/dev/ptmx",
+ "45": "/dev/ptmx",
"5": "pipe:[29826]",
"6": "pipe:[29827]",
"7": "pipe:[29827]",
"8": "anon_inode:[eventfd]",
"9": "anon_inode:[eventpoll]",
}
❯ tests/index.test.ts:62:26
|
tests/index.test.ts > PTY > respects working directory:
tests/index.test.ts#L62
AssertionError: expected { '0': 'pipe:[29819]', …(46) } to strictly equal { '0': 'pipe:[29819]', …(45) }
- Expected
+ Received
Object {
"0": "pipe:[29819]",
"1": "pipe:[29820]",
"10": "pipe:[29089]",
"11": "pipe:[29089]",
"110": "pipe:[23988]",
"113": "pipe:[23989]",
"12": "anon_inode:[eventfd]",
"13": "anon_inode:[eventpoll]",
"14": "pipe:[29828]",
"15": "pipe:[29828]",
"16": "anon_inode:[eventfd]",
"17": "socket:[24421]",
"18": "anon_inode:[eventpoll]",
"19": "pipe:[28254]",
"2": "pipe:[29821]",
"20": "pipe:[28254]",
"21": "anon_inode:[eventfd]",
"22": "pipe:[29836]",
"23": "anon_inode:[eventpoll]",
"24": "pipe:[29836]",
"25": "anon_inode:[eventfd]",
"26": "anon_inode:[eventpoll]",
"27": "pipe:[29102]",
"28": "/dev/null",
"29": "pipe:[29102]",
"3": "anon_inode:[eventpoll]",
"30": "anon_inode:[eventfd]",
"31": "socket:[29876]",
"33": "socket:[29878]",
"35": "/dev/ptmx",
"36": "/dev/ptmx",
"37": "/dev/ptmx",
"38": "/dev/ptmx",
"39": "/dev/ptmx",
"4": "pipe:[29826]",
"40": "/dev/ptmx",
"41": "/dev/ptmx",
"42": "/dev/ptmx",
"43": "/dev/ptmx",
"44": "/dev/ptmx",
"45": "/dev/ptmx",
+ "46": "/dev/ptmx",
"5": "pipe:[29826]",
"6": "pipe:[29827]",
"7": "pipe:[29827]",
"8": "anon_inode:[eventfd]",
"9": "anon_inode:[eventpoll]",
}
❯ tests/index.test.ts:62:26
|
tests/index.test.ts > PTY > respects env:
tests/index.test.ts#L62
AssertionError: expected { '0': 'pipe:[29819]', …(47) } to strictly equal { '0': 'pipe:[29819]', …(46) }
- Expected
+ Received
Object {
"0": "pipe:[29819]",
"1": "pipe:[29820]",
"10": "pipe:[29089]",
"11": "pipe:[29089]",
"110": "pipe:[23988]",
"113": "pipe:[23989]",
"12": "anon_inode:[eventfd]",
"13": "anon_inode:[eventpoll]",
"14": "pipe:[29828]",
"15": "pipe:[29828]",
"16": "anon_inode:[eventfd]",
"17": "socket:[24421]",
"18": "anon_inode:[eventpoll]",
"19": "pipe:[28254]",
"2": "pipe:[29821]",
"20": "pipe:[28254]",
"21": "anon_inode:[eventfd]",
"22": "pipe:[29836]",
"23": "anon_inode:[eventpoll]",
"24": "pipe:[29836]",
"25": "anon_inode:[eventfd]",
"26": "anon_inode:[eventpoll]",
"27": "pipe:[29102]",
"28": "/dev/null",
"29": "pipe:[29102]",
"3": "anon_inode:[eventpoll]",
"30": "anon_inode:[eventfd]",
"31": "socket:[29876]",
"33": "socket:[29878]",
"35": "/dev/ptmx",
"36": "/dev/ptmx",
"37": "/dev/ptmx",
"38": "/dev/ptmx",
"39": "/dev/ptmx",
"4": "pipe:[29826]",
"40": "/dev/ptmx",
"41": "/dev/ptmx",
"42": "/dev/ptmx",
"43": "/dev/ptmx",
"44": "/dev/ptmx",
"45": "/dev/ptmx",
"46": "/dev/ptmx",
+ "47": "/dev/ptmx",
"5": "pipe:[29826]",
"6": "pipe:[29827]",
"7": "pipe:[29827]",
"8": "anon_inode:[eventfd]",
"9": "anon_inode:[eventpoll]",
}
❯ tests/index.test.ts:62:26
|
tests/index.test.ts > PTY > respects env:
tests/index.test.ts#L62
AssertionError: expected { '0': 'pipe:[29819]', …(48) } to strictly equal { '0': 'pipe:[29819]', …(47) }
- Expected
+ Received
Object {
"0": "pipe:[29819]",
"1": "pipe:[29820]",
"10": "pipe:[29089]",
"11": "pipe:[29089]",
"110": "pipe:[23988]",
"113": "pipe:[23989]",
"12": "anon_inode:[eventfd]",
"13": "anon_inode:[eventpoll]",
"14": "pipe:[29828]",
"15": "pipe:[29828]",
"16": "anon_inode:[eventfd]",
"17": "socket:[24421]",
"18": "anon_inode:[eventpoll]",
"19": "pipe:[28254]",
"2": "pipe:[29821]",
"20": "pipe:[28254]",
"21": "anon_inode:[eventfd]",
"22": "pipe:[29836]",
"23": "anon_inode:[eventpoll]",
"24": "pipe:[29836]",
"25": "anon_inode:[eventfd]",
"26": "anon_inode:[eventpoll]",
"27": "pipe:[29102]",
"28": "/dev/null",
"29": "pipe:[29102]",
"3": "anon_inode:[eventpoll]",
"30": "anon_inode:[eventfd]",
"31": "socket:[29876]",
"33": "socket:[29878]",
"35": "/dev/ptmx",
"36": "/dev/ptmx",
"37": "/dev/ptmx",
"38": "/dev/ptmx",
"39": "/dev/ptmx",
"4": "pipe:[29826]",
"40": "/dev/ptmx",
"41": "/dev/ptmx",
"42": "/dev/ptmx",
"43": "/dev/ptmx",
"44": "/dev/ptmx",
"45": "/dev/ptmx",
"46": "/dev/ptmx",
"47": "/dev/ptmx",
+ "48": "/dev/ptmx",
"5": "pipe:[29826]",
"6": "pipe:[29827]",
"7": "pipe:[29827]",
"8": "anon_inode:[eventfd]",
"9": "anon_inode:[eventpoll]",
}
❯ tests/index.test.ts:62:26
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
bindings-aarch64-apple-darwin
Expired
|
219 KB |
|
bindings-x86_64-apple-darwin
Expired
|
227 KB |
|