Searched refs:in_fn (Results 1 - 1 of 1) sorted by relevance

/systemd/src/test/
H A Dtest-copy.c63 char in_fn[] = "/tmp/test-copy-file-fd-XXXXXX"; local
69 in_fd = mkostemp_safe(in_fn, O_RDWR);
74 assert_se(write_string_file(in_fn, text, WRITE_STRING_FILE_CREATE) == 0);
76 assert_se(copy_file_fd(in_fn, out_fd, true) >= 0);
82 unlink(in_fn);

Completed in 10 milliseconds