From 644593d30ecddec27f0a48340d74db7cf164bfc3 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Sat, 22 May 2010 05:03:16 +0300 Subject: s4/test: Replace hand-made field count to test This patch replaces hand-make count of fields to be tested with defines for FIRST-LAST value for corresponding fields to test with. As a side-effect, 'acct_flags' is now included in tests. --- source4/torture/libnet/usertest.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source4/torture/libnet/usertest.h') diff --git a/source4/torture/libnet/usertest.h b/source4/torture/libnet/usertest.h index 19d56415b3..aecec538dd 100644 --- a/source4/torture/libnet/usertest.h +++ b/source4/torture/libnet/usertest.h @@ -26,8 +26,11 @@ } -#define FIELDS_NUM 11 -enum test_fields { none = 0, account_name, full_name, description, home_directory, home_drive, +#define USER_FIELD_FIRST account_name +#define USER_FIELD_LAST acct_flags + +enum test_fields { none = 0, + account_name, full_name, description, home_directory, home_drive, comment, logon_script, profile_path, acct_expiry, acct_flags }; -- cgit