Skip to content

Commit 745c65d

Browse files
committed
Update/fix Linux and Windows specific snapshots
Windows manually, so we'll see...
1 parent c3f5d2f commit 745c65d

6 files changed

Lines changed: 22 additions & 22 deletions

File tree

tests/testthat/_snaps/Linux/process.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
process$new(tempfile())
55
Condition
66
Error:
7-
! Native call to `processx_exec` failed
8-
Caused by error:
7+
! ! Native call to `processx_exec` failed
8+
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...` at initialize.R:162:3:
99
! cannot start processx process '<tempdir>/<tempfile>' (system error 2, No such file or directory) @unix/processx.c:611 (processx_exec)
1010

1111
# working directory does not exist
@@ -14,7 +14,7 @@
1414
process$new(px, wd = tempfile())
1515
Condition
1616
Error:
17-
! Native call to `processx_exec` failed
18-
Caused by error:
17+
! ! Native call to `processx_exec` failed
18+
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...` at initialize.R:162:3:
1919
! cannot start processx process '<path>/px' (system error 2, No such file or directory) @unix/processx.c:611 (processx_exec)
2020

tests/testthat/_snaps/Linux/run.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
run(px, wd = tempfile())
55
Condition
66
Error:
7-
! Native call to `processx_exec` failed
8-
Caused by error:
7+
! ! Native call to `processx_exec` failed
8+
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...` at initialize.R:162:3:
99
! cannot start processx process '<path>/px' (system error 2, No such file or directory) @unix/processx.c:611 (processx_exec)
1010

tests/testthat/_snaps/Linux/unix-sockets.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
conn_read_chars(sock1)
55
Condition
66
Error:
7-
! Native call to `processx_connection_read_chars` failed
8-
Caused by error:
7+
! ! Native call to `processx_connection_read_chars` failed
8+
Caused by error in `chain_call(c_processx_connection_read_chars, con, n)` at connections.R:302:3:
99
! Cannot read from processx connection (system error 22, Invalid argument) @processx-connection.c:1828 (processx__connection_read)
1010

1111
# errors
@@ -14,21 +14,21 @@
1414
conn_create_unix_socket(sock)
1515
Condition
1616
Error:
17-
! Native call to `processx_connection_create_socket` failed
18-
Caused by error:
17+
! ! Native call to `processx_connection_create_socket` failed
18+
Caused by error in `chain_call(c_processx_connection_create_socket, filename, encoding)` at connections.R:590:3:
1919
! Server socket path too long: <tempdir>/<tempfile>
2020
Code
2121
conn_create_unix_socket("/dev/null")
2222
Condition
2323
Error:
24-
! Native call to `processx_connection_create_socket` failed
25-
Caused by error:
24+
! ! Native call to `processx_connection_create_socket` failed
25+
Caused by error in `chain_call(c_processx_connection_create_socket, filename, encoding)` at connections.R:590:3:
2626
! Cannot bind to socket (system error 98, Address already in use) @processx-connection.c:442 (processx_connection_create_socket)
2727
Code
2828
conn_connect_unix_socket("/dev/null")
2929
Condition
3030
Error:
31-
! Native call to `processx_connection_connect_socket` failed
32-
Caused by error:
31+
! ! Native call to `processx_connection_connect_socket` failed
32+
Caused by error in `chain_call(c_processx_connection_connect_socket, filename, encoding)` at connections.R:612:3:
3333
! Cannot connect to socket (system error 111, Connection refused) @processx-connection.c:513 (processx_connection_connect_socket)
3434

tests/testthat/_snaps/Windows/process.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
process$new(tempfile())
55
Condition
66
Error:
7-
! Native call to `processx_exec` failed
8-
Caused by error:
7+
! ! Native call to `processx_exec` failed
8+
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...` at initialize.R:162:3:
99
! Command '<tempdir>/<tempfile>' not found @win/processx.c:982 (processx_exec)
1010

1111
# working directory does not exist
@@ -14,8 +14,8 @@
1414
process$new(px, wd = tempfile())
1515
Condition
1616
Error:
17-
! Native call to `processx_exec` failed
18-
Caused by error:
17+
! ! Native call to `processx_exec` failed
18+
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...` at initialize.R:162:3:
1919
! create process '<path>/px' (system error 267, The directory name is invalid.
2020
) @win/processx.c:1040 (processx_exec)
2121

tests/testthat/_snaps/Windows/run.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
run(px, wd = tempfile())
55
Condition
66
Error:
7-
! Native call to `processx_exec` failed
8-
Caused by error:
7+
! ! Native call to `processx_exec` failed
8+
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...` at initialize.R:162:3:
99
! create process '<path>/px' (system error 267, The directory name is invalid.
1010
) @win/processx.c:1040 (processx_exec)
1111

tests/testthat/_snaps/Windows/unix-sockets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
conn_read_chars(sock1)
55
Condition
66
Error:
7-
! Native call to `processx_connection_read_chars` failed
8-
Caused by error:
7+
! ! Native call to `processx_connection_read_chars` failed
8+
Caused by error in `chain_call(c_processx_connection_read_chars, con, n)` at connections.R:302:3:
99
! Cannot read from an un-accepted socket connection @processx-connection.c:1731 (processx__connection_read)
1010

0 commit comments

Comments
 (0)