python/tests: make it possible to specific TARGET_HOSTNAME to raw_protocol.py
commitb6569bd122cf0b9f8629a54b78e404f777671d91
authorStefan Metzmacher <metze@samba.org>
Tue, 20 Sep 2016 19:06:39 +0000 (20 21:06 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 26 Oct 2016 09:20:19 +0000 (26 11:20 +0200)
treee319cacfa8d27a73ab052c66ec22fbd1d372435e
parentd5b58bb730127a89feced87ad2218c4fdd1f8e1c
python/tests: make it possible to specific TARGET_HOSTNAME to raw_protocol.py

SMB_CONF_PATH=/dev/null \
  SERVER=w2012r2-188.w2012r2-l6.base \
  USERNAME=administrator PASSWORD=A1b2C3d4 \
  python/samba/tests/dcerpc/raw_protocol.py -v -f TestDCERPC_BIND

or

SMB_CONF_PATH=/dev/null \
  SERVER=172.31.9.188 TARGET_HOSTNAME=w2012r2-188.w2012r2-l6.base \
  USERNAME=administrator PASSWORD=A1b2C3d4 \
  python/samba/tests/dcerpc/raw_protocol.py -v -f TestDCERPC_BIND

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
python/samba/tests/__init__.py
python/samba/tests/dcerpc/raw_protocol.py