diff options
author | Andreas Schneider <asn@samba.org> | 2015-12-03 18:21:03 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-12-10 08:49:21 +0100 |
commit | eb11fbaaf71310ec4869f1ca64319012503b11fc (patch) | |
tree | 13d3f8bed6daa58041b2b84f5cdcf824c52e65ea /source4/torture/wscript_build | |
parent | 59c11db03d4c3e0c53b27d685e406de16c52e2a3 (diff) | |
download | samba-eb11fbaaf71310ec4869f1ca64319012503b11fc.tar.gz |
s4-torture: Add a GnuTLS based backupkey rpc test
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4/torture/wscript_build')
-rwxr-xr-x | source4/torture/wscript_build | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/torture/wscript_build b/source4/torture/wscript_build index 8ae3175f1a6..c511d069932 100755 --- a/source4/torture/wscript_build +++ b/source4/torture/wscript_build @@ -65,6 +65,10 @@ bld.SAMBA_SUBSYSTEM('TORTURE_NDR', deps='torture' ) +if bld.CONFIG_SET('HAVE_GNUTLS_3_4_7'): + torture_rpc_backupkey = 'rpc/backupkey.c' +else: + torture_rpc_backupkey = 'rpc/backupkey_heimdal.c' bld.SAMBA_MODULE('torture_rpc', source=''' @@ -120,8 +124,7 @@ bld.SAMBA_MODULE('torture_rpc', rpc/fsrvp.c rpc/clusapi.c rpc/witness.c - rpc/backupkey_heimdal.c - ''' + ntvfs_specific['source'], + ''' + torture_rpc_backupkey + ntvfs_specific['source'], autoproto='rpc/proto.h', subsystem='smbtorture', init_function='torture_rpc_init', |