blob: ef21834baaa0d958d1de5383f0bfaf6155158610 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Common tests
# Pulled out of existing tests to prevent duplication.
#
test_smbclient() {
name="$1"
cmd="$2"
unc="$3"
shift
shift
shift
echo "test: $name"
$VALGRIND $smbclient $CONFIGURATION "$unc" -c "$cmd" $@
status=$?
if [ x$status = x0 ]; then
echo "success: $name"
else
echo "failure: $name"
fi
return $status
}
|