1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00
samba-mirror/ctdb/tests/cunit/protocol_test_002.sh

37 lines
683 B
Bash
Raw Normal View History

#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
last_control=148
control_output=$(
for i in $(seq 0 $last_control) ; do
echo -n "$i.. "
done
echo
)
output=$(
echo "ctdb_req_header"
echo "ctdb_req_call"
echo "ctdb_reply_call"
echo "ctdb_reply_error"
echo "ctdb_req_dmaster"
echo "ctdb_reply_dmaster"
echo "ctdb_req_control_data"
echo "$control_output"
echo "ctdb_reply_control_data"
echo "$control_output"
echo "ctdb_req_control"
echo "$control_output"
echo "ctdb_reply_control"
echo "$control_output"
echo "ctdb_req_message"
)
ok "$output"
for i in $(seq 1 100) ; do
unit_test protocol_client_test $i
done