Lines Matching refs:test_items
43 static struct passwd test_items[MAX_TEST_ITEMS]; variable
57 struct passwd *target = test_items + test_count; in init_test_items()
74 struct passwd *pwd1 = getpwnam (test_items[i].pw_name); in init_test_items()
75 struct passwd *pwd2 = getpwuid (test_items[i].pw_uid); in init_test_items()
76 if (pwd1 == NULL || !equal (pwd1, test_items + i) in init_test_items()
77 || pwd2 == NULL || !equal (pwd2, test_items + i)) in init_test_items()
80 test_items[i].pw_name, (long) test_items[i].pw_uid); in init_test_items()
81 test_items[i].pw_name = NULL; in init_test_items()
200 if (test_items[i].pw_name == NULL) in test_buffer_size()
203 test_one (test_items + i, buffer_size, '\0', padding_size); in test_buffer_size()
206 test_one (test_items + i, buffer_size, ':', padding_size); in test_buffer_size()
207 test_one (test_items + i, buffer_size, '\n', padding_size); in test_buffer_size()
208 test_one (test_items + i, buffer_size, '\xff', padding_size); in test_buffer_size()
209 test_one (test_items + i, buffer_size, '@', padding_size); in test_buffer_size()