smbtorture: Add "target" command to interactive shell.
authorJames Peach <jpeach@samba.org>
Tue, 23 Mar 2010 04:55:49 +0000 (21:55 -0700)
committerJames Peach <jpeach@apple.com>
Mon, 21 Jun 2010 15:58:10 +0000 (08:58 -0700)
commit0fc18ead76a79286365646eeb7607b39b01a1c9f
treec0c95254ca2ea1cbd39eb5c3681ae96d05d2ecd0
parent7a25e2efe9360b333fedc3fb938774437703700e
smbtorture: Add "target" command to interactive shell.

Add a "target" command to set the target server to test. Refactor
the command line argument processing a little so that you can run
--shell without any additional arguments.
source4/torture/shell.c
source4/torture/smbtorture.c