mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
had to move day display names into lib/util, to get rpctorture to compile.
This commit is contained in:
parent
c33c6330e3
commit
8c80742e4e
@ -85,6 +85,8 @@ char **my_netbios_names;
|
||||
|
||||
static char *filename_dos(char *path,char *buf);
|
||||
|
||||
char *daynames[] = {"Mon","Tue","Wed","Thu","Fri","Sat","Sun"};
|
||||
char *daynames_short[] = {"M", "Tu", "W", "Th", "F", "Sa", "Su"};
|
||||
|
||||
/*************************************************************
|
||||
initialise password databases, domain names, domain sid.
|
||||
|
@ -64,8 +64,8 @@ static BOOL checkopt(char *input, char *optname, char **params)
|
||||
return True;
|
||||
}
|
||||
|
||||
char *daynames[] = {"Mon","Tue","Wed","Thu","Fri","Sat","Sun"};
|
||||
char *daynames_short[] = {"M", "T", "W", "Th", "F", "S", "Su"};
|
||||
extern char *daynames_short[];
|
||||
extern char *daynames[];
|
||||
|
||||
/****************************************************************************
|
||||
parses a list of days of the week and month
|
||||
|
@ -556,8 +556,8 @@ static void run_pipegobble(int numops, struct client_info *cli_info, char *pipe_
|
||||
|
||||
static void run_handles(int numops, struct client_info *cli_info)
|
||||
{
|
||||
run_samhandles(numops, cli_info);
|
||||
run_lsahandles(numops, cli_info);
|
||||
run_samhandles(numops, cli_info);
|
||||
}
|
||||
|
||||
static void run_pipegobbler(int numops, struct client_info *cli_info)
|
||||
@ -634,6 +634,8 @@ static void usage(char *pname)
|
||||
fprintf(out_hnd, "\t-U username set the network username\n");
|
||||
fprintf(out_hnd, "\t-W workgroup set the workgroup name\n");
|
||||
fprintf(out_hnd, "\t-t terminal code terminal i/o code {sjis|euc|jis7|jis8|junet|hex}\n");
|
||||
fprintf(out_hnd, "\t-N processes number of processes\n");
|
||||
fprintf(out_hnd, "\t-o operations number of operations\n");
|
||||
fprintf(out_hnd, "\n");
|
||||
}
|
||||
|
||||
@ -956,12 +958,12 @@ enum client_action
|
||||
}
|
||||
*/
|
||||
|
||||
create_procs(nprocs, numops, &cli_info, run_randomrpc);
|
||||
/*
|
||||
create_procs(nprocs, numops, &cli_info, run_randomrpc);
|
||||
create_procs(nprocs, numops, &cli_info, run_pipegobbler);
|
||||
create_procs(nprocs, numops, &cli_info, run_tcpconnect);
|
||||
create_procs(nprocs, numops, &cli_info, run_handles);
|
||||
*/
|
||||
create_procs(nprocs, numops, &cli_info, run_handles);
|
||||
|
||||
fflush(out_hnd);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user