1#!/bin/sh -x
2
3pthserv &
4sleep 5
5pthcli 127.0.0.1 $LTPROOT/testcases/bin/data
6clientCode=$?
7killall pthserv
8serverCode=$?
9if [ $clientCode -ne 0 ] || [ $serverCode -ne 0 ]; then
10    exit 1
11fi
12exit 0
13