File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ test_read(void)
179
179
static void
180
180
test_read_write (void )
181
181
{
182
- const char * path_in = "/dev/random " ;
182
+ const char * path_in = "/dev/urandom " ;
183
183
char path_out [] = "/tmp/dispatchtest_io.XXXXXX" ;
184
184
const size_t siz_in = 10240 ;
185
185
@@ -246,7 +246,7 @@ test_read_write(void)
246
246
static void
247
247
test_read_writes (void ) // <rdar://problem/7785143>
248
248
{
249
- const char * path_in = "/dev/random " ;
249
+ const char * path_in = "/dev/urandom " ;
250
250
char path_out [] = "/tmp/dispatchtest_io.XXXXXX" ;
251
251
const size_t chunks_out = 320 ;
252
252
const size_t siz_chunk = 32 , siz_in = siz_chunk * chunks_out ;
@@ -333,7 +333,7 @@ test_read_writes(void) // <rdar://problem/7785143>
333
333
static void
334
334
test_writes_reads_eagain (void ) // rdar://problem/8333366
335
335
{
336
- int in = open ("/dev/random " , O_RDONLY );
336
+ int in = open ("/dev/urandom " , O_RDONLY );
337
337
if (in == -1 ) {
338
338
test_errno ("open" , errno , 0 );
339
339
test_stop ();
You can’t perform that action at this time.
0 commit comments