Skip to content

Instantly share code, notes, and snippets.

@stereobooster
Created October 6, 2012 17:49
Show Gist options
  • Save stereobooster/3845607 to your computer and use it in GitHub Desktop.
Save stereobooster/3845607 to your computer and use it in GitHub Desktop.
posix-spawn windows error
Run options:
# Running tests:
.........EEE.....FFF.EEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEE.EEEEF.....FEFEEEE.FFF...F...FF.F...F.EEEEEEEEEEEEEEEEFEEEEEEEEEEEEEEEEFE....F.....
Finished tests in 4.093234s, 33.7142 tests/s, 39.0889 assertions/s.
1) Error:
test_input(ChildTest):
Errno::EBADF: Bad file descriptor
d:/projects/posix-spawn/lib/posix/spawn/child.rb:179:in `write_nonblock'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:179:in `block in read_and_write'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:176:in `each'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:176:in `read_and_write'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:108:in `exec!'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:80:in `initialize'
d:/projects/posix-spawn/test/test_child.rb:60:in `new'
d:/projects/posix-spawn/test/test_child.rb:60:in `test_input'
2) Error:
test_input_cannot_be_written_due_to_broken_pipe(ChildTest):
Errno::EBADF: Bad file descriptor
d:/projects/posix-spawn/lib/posix/spawn/child.rb:179:in `write_nonblock'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:179:in `block in read_and_write'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:176:in `each'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:176:in `read_and_write'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:108:in `exec!'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:80:in `initialize'
d:/projects/posix-spawn/test/test_child.rb:113:in `new'
d:/projects/posix-spawn/test/test_child.rb:113:in `test_input_cannot_be_written_due_to_broken_pipe'
3) Error:
test_lots_of_input_and_lots_of_output_at_the_same_time(ChildTest):
Errno::EBADF: Bad file descriptor
d:/projects/posix-spawn/lib/posix/spawn/child.rb:179:in `write_nonblock'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:179:in `block in read_and_write'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:176:in `each'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:176:in `read_and_write'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:108:in `exec!'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:80:in `initialize'
d:/projects/posix-spawn/test/test_child.rb:105:in `new'
d:/projects/posix-spawn/test/test_child.rb:105:in `test_lots_of_input_and_lots_of_output_at_the_same_time'
4) Failure:
test_stderr(ChildTest) [d:/projects/posix-spawn/test/test_child.rb:39]:
<"boom\n"> expected but was
<"d:/projects/posix-spawn/lib/posix/spawn.rb:165: warning: cannot close fd before spawn\nboom\n">.
5) Failure:
test_stdout(ChildTest) [d:/projects/posix-spawn/test/test_child.rb:33]:
<""> expected but was
<"d:/projects/posix-spawn/lib/posix/spawn.rb:165: warning: cannot close fd before spawn\n">.
6) Failure:
test_timeout(ChildTest) [d:/projects/posix-spawn/test/test_child.rb:87]:
Failed assertion, no message given.
7) Error:
test_utf8_input(ChildTest):
Errno::EBADF: Bad file descriptor
d:/projects/posix-spawn/lib/posix/spawn/child.rb:179:in `write_nonblock'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:179:in `block in read_and_write'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:176:in `each'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:176:in `read_and_write'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:108:in `exec!'
d:/projects/posix-spawn/lib/posix/spawn/child.rb:80:in `initialize'
d:/projects/posix-spawn/test/test_child.rb:119:in `new'
d:/projects/posix-spawn/test/test_child.rb:119:in `test_utf8_input'
8) Error:
test_explicitly_passing_an_fd_as_open(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:194:in `test_explicitly_passing_an_fd_as_open'
9) Error:
test_sanity_of_checking_clone_with_sh(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:73:in `test_sanity_of_checking_clone_with_sh'
10) Error:
test_spawn_clean_env(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:46:in `test_spawn_clean_env'
11) Error:
test_spawn_close_invalid_fd_raises_exception(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:120:in `test_spawn_close_invalid_fd_raises_exception'
12) Error:
test_spawn_close_on_standard_stream_io_object(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:89:in `test_spawn_close_on_standard_stream_io_object'
13) Error:
test_spawn_close_option_with_fd_number(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:99:in `test_spawn_close_option_with_fd_number'
14) Error:
test_spawn_close_option_with_io_object(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:110:in `test_spawn_close_option_with_io_object'
15) Error:
test_spawn_close_option_with_symbolic_standard_stream_names(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:80:in `test_spawn_close_option_with_symbolic_standard_stream_names'
16) Error:
test_spawn_closing_multiple_fds_with_array_keys(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:128:in `test_spawn_closing_multiple_fds_with_array_keys'
17) Error:
test_spawn_does_not_close_fd_when_redirecting(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:186:in `test_spawn_does_not_close_fd_when_redirecting'
18) Error:
test_spawn_explicit_pgroup(ForkSpawnTest):
NotImplementedError: getpgrp() function is unimplemented on this machine
d:/projects/posix-spawn/test/test_spawn.rb:308:in `getpgrp'
d:/projects/posix-spawn/test/test_spawn.rb:308:in `test_spawn_explicit_pgroup'
19) Error:
test_spawn_inherit_env(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:38:in `test_spawn_inherit_env'
20) Error:
test_spawn_inherit_pgroup_from_parent_by_default(ForkSpawnTest):
NotImplementedError: getpgrp() function is unimplemented on this machine
d:/projects/posix-spawn/test/test_spawn.rb:286:in `getpgrp'
d:/projects/posix-spawn/test/test_spawn.rb:286:in `test_spawn_inherit_pgroup_from_parent_by_default'
21) Error:
test_spawn_inherit_pgroup_from_parent_when_nil(ForkSpawnTest):
NotImplementedError: getpgrp() function is unimplemented on this machine
d:/projects/posix-spawn/test/test_spawn.rb:292:in `getpgrp'
d:/projects/posix-spawn/test/test_spawn.rb:292:in `test_spawn_inherit_pgroup_from_parent_when_nil'
22) Error:
test_spawn_new_pgroup_with_true(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:298:in `test_spawn_new_pgroup_with_true'
23) Error:
test_spawn_new_pgroup_with_zero(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:303:in `test_spawn_new_pgroup_with_zero'
24) Error:
test_spawn_redirect_fd_from_file_with_fd_number(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:252:in `test_spawn_redirect_fd_from_file_with_fd_number'
25) Error:
test_spawn_redirect_fd_from_file_with_io_object(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:263:in `test_spawn_redirect_fd_from_file_with_io_object'
26) Error:
test_spawn_redirect_fd_from_file_with_symbolic_name(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:241:in `test_spawn_redirect_fd_from_file_with_symbolic_name'
27) Error:
test_spawn_redirect_fd_to_file_with_fd_number(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:217:in `test_spawn_redirect_fd_to_file_with_fd_number'
28) Error:
test_spawn_redirect_fd_to_file_with_io_object(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:228:in `test_spawn_redirect_fd_to_file_with_io_object'
29) Error:
test_spawn_redirect_fd_to_file_with_symbolic_name(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:206:in `test_spawn_redirect_fd_to_file_with_symbolic_name'
30) Error:
test_spawn_redirect_fd_to_file_with_symbolic_name_and_flags(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:273:in `block in test_spawn_redirect_fd_to_file_with_symbolic_name_and_flags'
d:/projects/posix-spawn/test/test_spawn.rb:272:in `times'
d:/projects/posix-spawn/test/test_spawn.rb:272:in `test_spawn_redirect_fd_to_file_with_symbolic_name_and_flags'
31) Error:
test_spawn_redirect_fds_with_fd_numbers(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:154:in `test_spawn_redirect_fds_with_fd_numbers'
32) Error:
test_spawn_redirect_fds_with_symbolic_names_and_io_objects(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:139:in `test_spawn_redirect_fds_with_symbolic_names_and_io_objects'
33) Error:
test_spawn_redirect_invalid_fds_raises_exception(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:168:in `test_spawn_redirect_invalid_fds_raises_exception'
34) Error:
test_spawn_redirect_stderr_and_stdout_to_same_fd(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:176:in `test_spawn_redirect_stderr_and_stdout_to_same_fd'
35) Error:
test_spawn_set_env(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:54:in `test_spawn_set_env'
36) Error:
test_spawn_simple(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:8:in `test_spawn_simple'
37) Error:
test_spawn_unset_env(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:62:in `test_spawn_unset_env'
38) Error:
test_spawn_with_args(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:13:in `test_spawn_with_args'
39) Error:
test_spawn_with_cmdname_and_argv0_tuple(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:23:in `test_spawn_with_cmdname_and_argv0_tuple'
40) Error:
test_spawn_with_shell(ForkSpawnTest):
NotImplementedError: fork() function is unimplemented on this machine
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fork'
d:/projects/posix-spawn/lib/posix/spawn.rb:206:in `fspawn'
d:/projects/posix-spawn/test/test_spawn.rb:391:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:18:in `test_spawn_with_shell'
41) Error:
test_explicitly_passing_an_fd_as_open(NativeSpawnTest):
ArgumentError: wrong file descriptor (4)
d:/projects/posix-spawn/test/test_spawn.rb:399:in `spawn'
d:/projects/posix-spawn/test/test_spawn.rb:399:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:194:in `test_explicitly_passing_an_fd_as_open'
42) Error:
test_sanity_of_checking_clone_with_sh(NativeSpawnTest):
ArgumentError: wrong file descriptor (3)
d:/projects/posix-spawn/test/test_spawn.rb:399:in `spawn'
d:/projects/posix-spawn/test/test_spawn.rb:399:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:73:in `test_sanity_of_checking_clone_with_sh'
43) Error:
test_spawn_clean_env(NativeSpawnTest):
Errno::EACCES: Permission denied - test -z "$PSPAWN" && test "$TEMP" = "child"
d:/projects/posix-spawn/test/test_spawn.rb:399:in `spawn'
d:/projects/posix-spawn/test/test_spawn.rb:399:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:46:in `test_spawn_clean_env'
44) Failure:
test_spawn_close_invalid_fd_raises_exception(NativeSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:121]:
<127> expected but was
<0>.
45) Failure:
test_spawn_does_not_close_fd_when_redirecting(NativeSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:187]:
<0> expected but was
<1>.
46) Error:
test_spawn_explicit_pgroup(NativeSpawnTest):
NotImplementedError: getpgrp() function is unimplemented on this machine
d:/projects/posix-spawn/test/test_spawn.rb:308:in `getpgrp'
d:/projects/posix-spawn/test/test_spawn.rb:308:in `test_spawn_explicit_pgroup'
47) Failure:
test_spawn_inherit_env(NativeSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:39]:
<0> expected but was
<1>.
48) Error:
test_spawn_inherit_pgroup_from_parent_by_default(NativeSpawnTest):
NotImplementedError: getpgrp() function is unimplemented on this machine
d:/projects/posix-spawn/test/test_spawn.rb:286:in `getpgrp'
d:/projects/posix-spawn/test/test_spawn.rb:286:in `test_spawn_inherit_pgroup_from_parent_by_default'
49) Error:
test_spawn_inherit_pgroup_from_parent_when_nil(NativeSpawnTest):
NotImplementedError: getpgrp() function is unimplemented on this machine
d:/projects/posix-spawn/test/test_spawn.rb:292:in `getpgrp'
d:/projects/posix-spawn/test/test_spawn.rb:292:in `test_spawn_inherit_pgroup_from_parent_when_nil'
50) Error:
test_spawn_new_pgroup_with_true(NativeSpawnTest):
ArgumentError: wrong exec option symbol: pgroup
d:/projects/posix-spawn/test/test_spawn.rb:399:in `spawn'
d:/projects/posix-spawn/test/test_spawn.rb:399:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:298:in `test_spawn_new_pgroup_with_true'
51) Error:
test_spawn_new_pgroup_with_zero(NativeSpawnTest):
ArgumentError: wrong exec option symbol: pgroup
d:/projects/posix-spawn/test/test_spawn.rb:399:in `spawn'
d:/projects/posix-spawn/test/test_spawn.rb:399:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:303:in `test_spawn_new_pgroup_with_zero'
52) Failure:
test_spawn_redirect_fd_from_file_with_fd_number(NativeSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:253]:
<0> expected but was
<1>.
53) Failure:
test_spawn_redirect_fd_from_file_with_io_object(NativeSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:264]:
<0> expected but was
<1>.
54) Failure:
test_spawn_redirect_fd_from_file_with_symbolic_name(NativeSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:242]:
<0> expected but was
<1>.
55) Failure:
test_spawn_redirect_fd_to_file_with_symbolic_name_and_flags(NativeSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:277]:
<"redirect_fd_to_file_with_symbolic_name\nredirect_fd_to_file_with_symbolic_name\nredirect_fd_to_file_with_symbolic_name\nredirect_fd_to_file_with_symbolic_name\nredirect_fd_to_file_with_symbolic_name\n"> expected but was
<"redirect_fd_to_file_with_symbolic_name\n">.
56) Failure:
test_spawn_redirect_stderr_and_stdout_to_same_fd(NativeSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:180]:
<"hello world\n"> expected but was
<"d:/projects/posix-spawn/test/test_spawn.rb:399: warning: cannot close fd before spawn\nhello world \n">.
57) Failure:
test_spawn_set_env(NativeSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:55]:
<0> expected but was
<1>.
58) Failure:
test_spawn_unset_env(NativeSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:63]:
<0> expected but was
<1>.
59) Failure:
test_spawn_with_shell(NativeSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:19]:
<13> expected but was
<0>.
60) Error:
test_explicitly_passing_an_fd_as_open(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:194:in `test_explicitly_passing_an_fd_as_open'
61) Error:
test_sanity_of_checking_clone_with_sh(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:73:in `test_sanity_of_checking_clone_with_sh'
62) Error:
test_spawn_clean_env(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:46:in `test_spawn_clean_env'
63) Error:
test_spawn_close_invalid_fd_raises_exception(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:120:in `test_spawn_close_invalid_fd_raises_exception'
64) Error:
test_spawn_close_on_standard_stream_io_object(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:89:in `test_spawn_close_on_standard_stream_io_object'
65) Error:
test_spawn_close_option_with_fd_number(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:99:in `test_spawn_close_option_with_fd_number'
66) Error:
test_spawn_close_option_with_io_object(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:110:in `test_spawn_close_option_with_io_object'
67) Error:
test_spawn_close_option_with_symbolic_standard_stream_names(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:80:in `test_spawn_close_option_with_symbolic_standard_stream_names'
68) Error:
test_spawn_closing_multiple_fds_with_array_keys(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:128:in `test_spawn_closing_multiple_fds_with_array_keys'
69) Error:
test_spawn_does_not_close_fd_when_redirecting(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:186:in `test_spawn_does_not_close_fd_when_redirecting'
70) Error:
test_spawn_explicit_pgroup(PosixSpawnTest):
NotImplementedError: getpgrp() function is unimplemented on this machine
d:/projects/posix-spawn/test/test_spawn.rb:308:in `getpgrp'
d:/projects/posix-spawn/test/test_spawn.rb:308:in `test_spawn_explicit_pgroup'
71) Error:
test_spawn_inherit_env(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:38:in `test_spawn_inherit_env'
72) Error:
test_spawn_inherit_pgroup_from_parent_by_default(PosixSpawnTest):
NotImplementedError: getpgrp() function is unimplemented on this machine
d:/projects/posix-spawn/test/test_spawn.rb:286:in `getpgrp'
d:/projects/posix-spawn/test/test_spawn.rb:286:in `test_spawn_inherit_pgroup_from_parent_by_default'
73) Error:
test_spawn_inherit_pgroup_from_parent_when_nil(PosixSpawnTest):
NotImplementedError: getpgrp() function is unimplemented on this machine
d:/projects/posix-spawn/test/test_spawn.rb:292:in `getpgrp'
d:/projects/posix-spawn/test/test_spawn.rb:292:in `test_spawn_inherit_pgroup_from_parent_when_nil'
74) Error:
test_spawn_new_pgroup_with_true(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:298:in `test_spawn_new_pgroup_with_true'
75) Error:
test_spawn_new_pgroup_with_zero(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:303:in `test_spawn_new_pgroup_with_zero'
76) Failure:
test_spawn_raises_exception_on_unsupported_options(PosixSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:319]:
[ArgumentError] exception expected, not
Class: <NotImplementedError>
Message: <"NotImplementedError">
---Backtrace---
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:321:in `block in test_spawn_raises_exception_on_unsupported_options'
---------------
77) Error:
test_spawn_redirect_fd_from_file_with_fd_number(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:252:in `test_spawn_redirect_fd_from_file_with_fd_number'
78) Error:
test_spawn_redirect_fd_from_file_with_io_object(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:263:in `test_spawn_redirect_fd_from_file_with_io_object'
79) Error:
test_spawn_redirect_fd_from_file_with_symbolic_name(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:241:in `test_spawn_redirect_fd_from_file_with_symbolic_name'
80) Error:
test_spawn_redirect_fd_to_file_with_fd_number(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:217:in `test_spawn_redirect_fd_to_file_with_fd_number'
81) Error:
test_spawn_redirect_fd_to_file_with_io_object(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:228:in `test_spawn_redirect_fd_to_file_with_io_object'
82) Error:
test_spawn_redirect_fd_to_file_with_symbolic_name(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:206:in `test_spawn_redirect_fd_to_file_with_symbolic_name'
83) Error:
test_spawn_redirect_fd_to_file_with_symbolic_name_and_flags(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:273:in `block in test_spawn_redirect_fd_to_file_with_symbolic_name_and_flags'
d:/projects/posix-spawn/test/test_spawn.rb:272:in `times'
d:/projects/posix-spawn/test/test_spawn.rb:272:in `test_spawn_redirect_fd_to_file_with_symbolic_name_and_flags'
84) Error:
test_spawn_redirect_fds_with_fd_numbers(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:154:in `test_spawn_redirect_fds_with_fd_numbers'
85) Error:
test_spawn_redirect_fds_with_symbolic_names_and_io_objects(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:139:in `test_spawn_redirect_fds_with_symbolic_names_and_io_objects'
86) Error:
test_spawn_redirect_invalid_fds_raises_exception(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:168:in `test_spawn_redirect_invalid_fds_raises_exception'
87) Error:
test_spawn_redirect_stderr_and_stdout_to_same_fd(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:176:in `test_spawn_redirect_stderr_and_stdout_to_same_fd'
88) Error:
test_spawn_set_env(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:54:in `test_spawn_set_env'
89) Error:
test_spawn_simple(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:8:in `test_spawn_simple'
90) Error:
test_spawn_unset_env(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:62:in `test_spawn_unset_env'
91) Error:
test_spawn_with_args(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:13:in `test_spawn_with_args'
92) Error:
test_spawn_with_cmdname_and_argv0_tuple(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:23:in `test_spawn_with_cmdname_and_argv0_tuple'
93) Failure:
test_spawn_with_invalid_argv(PosixSpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:28]:
[ArgumentError] exception expected, not
Class: <NotImplementedError>
Message: <"NotImplementedError">
---Backtrace---
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:29:in `block in test_spawn_with_invalid_argv'
---------------
94) Error:
test_spawn_with_shell(PosixSpawnTest):
NotImplementedError: NotImplementedError
d:/projects/posix-spawn/lib/posix/spawn.rb:179:in `pspawn'
d:/projects/posix-spawn/test/test_spawn.rb:384:in `_spawn'
d:/projects/posix-spawn/test/test_spawn.rb:18:in `test_spawn_with_shell'
95) Failure:
test_spawn_methods_exposed_at_module_level(SpawnTest) [d:/projects/posix-spawn/test/test_spawn.rb:352]:
Failed assertion, no message given.
138 tests, 160 assertions, 17 failures, 78 errors, 0 skips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment