diff options
author | Siri Hansen <[email protected]> | 2010-08-17 13:34:35 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2011-05-17 11:32:33 +0200 |
commit | 87fce5499baa1824eebe822cc62608c5bb58d3cf (patch) | |
tree | ee51c2c3b900ab1fea891ae3e9b7403e5173af52 /lib/sasl/test/release_handler_SUITE_data/start | |
parent | c1e2d6d62e9932b3d438fb9466ab716c81b252c2 (diff) | |
download | otp-87fce5499baa1824eebe822cc62608c5bb58d3cf.tar.gz otp-87fce5499baa1824eebe822cc62608c5bb58d3cf.tar.bz2 otp-87fce5499baa1824eebe822cc62608c5bb58d3cf.zip |
Add SASL test suite
Diffstat (limited to 'lib/sasl/test/release_handler_SUITE_data/start')
-rwxr-xr-x | lib/sasl/test/release_handler_SUITE_data/start | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/sasl/test/release_handler_SUITE_data/start b/lib/sasl/test/release_handler_SUITE_data/start new file mode 100755 index 0000000000..45e526c15f --- /dev/null +++ b/lib/sasl/test/release_handler_SUITE_data/start @@ -0,0 +1,29 @@ +#!/bin/sh +# +# This program invokes the erlang emulator by calling run_erl. +# It should only be used at an embedded target system. +# It should be modified to give the correct flags to erl (via start_erl), +# e.g -mode embedded -sname XXX +# +# Usage: start [Data] +# +ROOTDIR=%ROOT% + +if [ "x${NODENAME}" = "x" ] +then + echo "ERROR: Variable \$NODENAME is not set!!" + exit 1 +fi + +if [ -z "$RELDIR" ] +then + RELDIR=$ROOTDIR/releases +fi + +HEART_COMMAND=$ROOTDIR/bin/start +HW_WD_DISABLE=true +export HW_WD_DISABLE HEART_COMMAND + +START_ERL_DATA=${1:-$RELDIR/start_erl.data} + +$ROOTDIR/bin/run_erl /tmp/ $ROOTDIR/log "exec $ROOTDIR/bin/start_erl $ROOTDIR $RELDIR $START_ERL_DATA -heart -sname $NODENAME" > $ROOTDIR/log/run_erl.out 2>&1 & |