aboutsummaryrefslogtreecommitdiffstats
path: root/jrt_test/src/tests/mandatory-methods/dotest.sh
blob: 25560a6210d6d006fcfaa7baf140c0f3f795348f (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.

sh $BINREF/progctl.sh progdefs.sh start javaserver 1

./jrt_test_extract-reflection_app tcp/localhost:$PORT_1 verbose > out.txt

sh $BINREF/progctl.sh progdefs.sh stop javaserver 1

if diff -u out.txt ref.txt; then
    exit 0
else
    exit 1
fi