Searched refs:slave_name2 (Results 1 – 1 of 1) sorted by relevance
57 let slave_name2 = unsafe { ptsname(&master_fd) }.unwrap(); in test_ptsname_copy() localVariable58 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() localVariable75 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() localVariable96 assert!(slave_name1 != slave_name2); in test_ptsname_unique()