Home
last modified time | relevance | path

Searched refs:slave_name2 (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/nix/test/
Dtest_pty.rs57 let slave_name2 = unsafe { ptsname(&master_fd) }.unwrap(); in test_ptsname_copy() localVariable
58 assert_eq!(slave_name1, slave_name2); in test_ptsname_copy()
61 assert!(slave_name1.as_ptr() != slave_name2.as_ptr()); in test_ptsname_copy()
74 let slave_name2 = ptsname_r(&master_fd).unwrap(); in test_ptsname_r_copy() localVariable
75 assert_eq!(slave_name1, slave_name2); in test_ptsname_r_copy()
76 assert!(slave_name1.as_ptr() != slave_name2.as_ptr()); in test_ptsname_r_copy()
95 let slave_name2 = unsafe { ptsname(&master2_fd) }.unwrap(); in test_ptsname_unique() localVariable
96 assert!(slave_name1 != slave_name2); in test_ptsname_unique()