diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-02-21 16:01:44 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-02-22 16:20:10 +1100 |
commit | a82d9e4e72d624916b1e12393a73a4d79ae080d2 (patch) | |
tree | 91b8a2ad1beec40bc7c9fac497b80be0ded13b26 /source3/script/tests/test_net_registry_roundtrip.sh | |
parent | 0b066b88dfbcc612089cdb5d971b7bb1bb7542ed (diff) | |
download | samba-a82d9e4e72d624916b1e12393a73a4d79ae080d2.tar.gz samba-a82d9e4e72d624916b1e12393a73a4d79ae080d2.tar.bz2 samba-a82d9e4e72d624916b1e12393a73a4d79ae080d2.zip |
s3-selftest convert tests.sh to python
This should allow us a much better chance of invoking the subunit
wrappers in the right way, at the right level.
Andrew Bartlett
Diffstat (limited to 'source3/script/tests/test_net_registry_roundtrip.sh')
-rwxr-xr-x | source3/script/tests/test_net_registry_roundtrip.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/script/tests/test_net_registry_roundtrip.sh b/source3/script/tests/test_net_registry_roundtrip.sh index 88919ec93c..52ce192af4 100755 --- a/source3/script/tests/test_net_registry_roundtrip.sh +++ b/source3/script/tests/test_net_registry_roundtrip.sh @@ -5,6 +5,17 @@ # Copyright (C) 2010 Gregor Beck <gbeck@sernet.de> # Copyright (C) 2011 Michael Adam <obnox@samba.org> +if [ $# -lt 3 ]; then +cat <<EOF +Usage: test_net_registry_roundtrip.sh SCRIPTDIR SERVERCONFFILE CONFIGURATION +EOF +exit 1; +fi + +SCRIPTDIR="$1" +SERVERCONFFILE="$2" +CONFIGURATION="$3" + NET="$VALGRIND ${NET:-$BINDIR/net} $CONFIGURATION" |