diff options
author | Micael Karlberg <[email protected]> | 2019-02-07 12:05:32 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-02-22 19:45:52 +0100 |
commit | 8aa6b2ca02b6f08fd66178209317fa5ac658a88a (patch) | |
tree | 41e4ff9b2d944e630e12ca680fb6208b25ede50e /erts/emulator/test/esock_ttest/esock-ttest-server-gen | |
parent | e4156fe240367b4ccad36277ff05d97ac0cb2a32 (diff) | |
download | otp-8aa6b2ca02b6f08fd66178209317fa5ac658a88a.tar.gz otp-8aa6b2ca02b6f08fd66178209317fa5ac658a88a.tar.bz2 otp-8aa6b2ca02b6f08fd66178209317fa5ac658a88a.zip |
[socket|test] Some improvements to (esock) ttest
Add a quiet mode for ttest which is used when running in
a (terminal) shell.
Moved the esock-ttest script(s) into their own directory.
Minor improvements to the (client) result printout.
Also fixed copyright (end) dates.
OTP-14831
Diffstat (limited to 'erts/emulator/test/esock_ttest/esock-ttest-server-gen')
-rwxr-xr-x | erts/emulator/test/esock_ttest/esock-ttest-server-gen | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/erts/emulator/test/esock_ttest/esock-ttest-server-gen b/erts/emulator/test/esock_ttest/esock-ttest-server-gen new file mode 100755 index 0000000000..c29184772e --- /dev/null +++ b/erts/emulator/test/esock_ttest/esock-ttest-server-gen @@ -0,0 +1,32 @@ +#!/bin/sh + +# +# %CopyrightBegin% +# +# Copyright Ericsson AB 2019-2019. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# %CopyrightEnd% +# + +EMU=$ERL_TOP/erts/emulator +EMU_TEST=$EMU/test +ESOCK_TTEST=$EMU_TEST/esock_ttest + +if [ $# = 1 ]; then + ACTIVE="--active $1" +fi + +$ESOCK_TTEST/esock-ttest --server --transport gen $ACTIVE + |