libcli/auth: let netlogon_creds_copy() make use of ndr_deepcopy_struct()
[samba4-gss.git] / source4 / selftest / win / wintest_client.sh
blobb956c711b532b2f9760fd618286793f1a9c9fe39
1 #!/bin/sh
3 . selftest/test_functions.sh
5 . selftest/win/wintest_functions.sh
7 # This variable is defined in the per-hosts .fns file.
8 . $WINTESTCONF
10 export SMBTORTURE_REMOTE_HOST=$1
12 test_name="WINDOWS CLIENT / SAMBA SERVER SHARE"
14 cat $WINTEST_DIR/common.exp >$TMPDIR/client_test.exp
15 cat $WINTEST_DIR/wintest_client.exp >>$TMPDIR/client_test.exp
17 expect $TMPDIR/client_test.exp || all_errs=$(expr $all_errs + 1)
19 if [ $all_errs ] >0; then
20 # Restore snapshot to ensure VM is in a known state.
21 restore_snapshot "\n$test_name failed." "$VM_CFG_PATH"
24 rm -f $TMPDIR/client_test.exp
26 exit $all_errs