summaryrefslogtreecommitdiffstats
path: root/jrt_test/src/tests/slobrok-api/dotest.sh
blob: 4a221e5830ca537161691b788c0639d68188776e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

. ../../binref/env.sh

ret=true

export PORT_8
sh $BINREF/progctl.sh progdefs.sh start slobrok 1
${BINREF}/runjava SlobrokAPITest tcp/localhost:${PORT_8} || ret=false
${BINREF}/sbcmd ${PORT_8} slobrok.system.stop
sh $BINREF/progctl.sh progdefs.sh stop slobrok 1

$ret