Skip to content

[DO NOT MERGE YET] Cherry-picks aed3841 for swift-3.0-branch Foundation integration #165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/dispatch_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ test_io_stop(void) // rdar://problem/8250057
static void
test_io_read_write(void)
{
const char *path_in = "/usr/share/dict/words";
const char *path_in = "/usr/bin/vi";
char path_out[] = "/tmp/dispatchtest_io.XXXXXX";

int in = open(path_in, O_RDONLY);
Expand Down
2 changes: 1 addition & 1 deletion tests/dispatch_io_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ main(int argc, char** argv)
socklen_t addr1len;
pid_t clientid;

const char *path = "/usr/share/dict/words";
const char *path = "/usr/bin/vi";
int read_fd, fd;

if (argc == 2) {
Expand Down
2 changes: 1 addition & 1 deletion tests/dispatch_read.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test_fin(void *cxt)
int
main(void)
{
const char *path = "/usr/share/dict/words";
const char *path = "/usr/bin/vi";
struct stat sb;

dispatch_test_start("Dispatch Source Read");
Expand Down
2 changes: 1 addition & 1 deletion tests/dispatch_read2.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ dispatch_read2(dispatch_fd_t fd,
static void
test_read(void)
{
const char *path = "/usr/share/dict/words";
const char *path = "/usr/bin/vi";
int fd = open(path, O_RDONLY);
if (fd == -1) {
test_errno("open", errno, 0);
Expand Down
2 changes: 1 addition & 1 deletion tests/dispatch_select.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ stage1(int stage)
void
stage2(void)
{
const char *path = "/usr/share/dict/words";
const char *path = "/usr/bin/vi";
struct stat sb;

int fd = open(path, O_RDONLY);
Expand Down