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

fail=0

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

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

exit $fail