summaryrefslogtreecommitdiffstats
path: root/jrt_test/src/tests/slobrok-api/dotest.sh
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
commit72231250ed81e10d66bfe70701e64fa5fe50f712 (patch)
tree2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /jrt_test/src/tests/slobrok-api/dotest.sh
Publish
Diffstat (limited to 'jrt_test/src/tests/slobrok-api/dotest.sh')
-rwxr-xr-xjrt_test/src/tests/slobrok-api/dotest.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/jrt_test/src/tests/slobrok-api/dotest.sh b/jrt_test/src/tests/slobrok-api/dotest.sh
new file mode 100755
index 00000000000..4a221e5830c
--- /dev/null
+++ b/jrt_test/src/tests/slobrok-api/dotest.sh
@@ -0,0 +1,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