source: trunk/server/source4/selftest/win/wintest_client.sh

Last change on this file was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 602 bytes
Line 
1#!/bin/sh
2
3. selftest/test_functions.sh
4
5. selftest/win/wintest_functions.sh
6
7# This variable is defined in the per-hosts .fns file.
8. $WINTESTCONF
9
10export SMBTORTURE_REMOTE_HOST=$1
11
12test_name="WINDOWS CLIENT / SAMBA SERVER SHARE"
13
14cat $WINTEST_DIR/common.exp > $TMPDIR/client_test.exp
15cat $WINTEST_DIR/wintest_client.exp >> $TMPDIR/client_test.exp
16
17expect $TMPDIR/client_test.exp || all_errs=`expr $all_errs + 1`
18
19if [ $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"
22fi
23
24rm -f $TMPDIR/client_test.exp
25
26exit $all_errs
Note: See TracBrowser for help on using the repository browser.