Tests: remove declaration already present in utils.sh
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 30 Sep 2015 22:38:13 +0000 (18:38 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 11 Sep 2018 19:28:25 +0000 (15:28 -0400)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
24 files changed:
extras/core-handler/handler.sh
extras/core-handler/test.sh
tests/regression/tools/exclusion/test_exclusion
tests/regression/tools/filtering/test_invalid_filter
tests/regression/tools/filtering/test_unsupported_op
tests/regression/tools/filtering/test_valid_filter
tests/regression/tools/health/test_health.sh
tests/regression/tools/health/test_thread_ok
tests/regression/tools/live/test_kernel
tests/regression/tools/live/test_lttng_kernel
tests/regression/tools/live/test_lttng_ust
tests/regression/tools/live/test_ust
tests/regression/tools/live/test_ust_tracefile_count
tests/regression/tools/mi/test_mi
tests/regression/tools/save-load/test_autoload
tests/regression/tools/save-load/test_load
tests/regression/tools/save-load/test_save
tests/regression/tools/wildcard/test_event_wildcard
tests/regression/ust/test_event_basic
tests/regression/ust/test_event_perf
tests/regression/ust/test_event_tracef
tests/stress/test_multi_sessions_per_uid_10app
tests/stress/test_multi_sessions_per_uid_5app_streaming
tests/stress/test_multi_sessions_per_uid_5app_streaming_kill_relayd

index c2d24027b42224bd31a368d2da9266c69eceb23e..1725a436fc4bd1e3ff8955d4cde094b4df16eaa4 100755 (executable)
@@ -21,7 +21,6 @@
 CAT_BIN="cat"
 PGREP_BIN="pgrep"
 MKDIR_BIN="mkdir"
-LTTNG_BIN="lttng"
 
 # Session name
 SESSION_NAME="coredump-handler"
index c36fdf78c7c28a80fb93c82368cbbc7126bc5102..db4e3ac05c53d13363e9a2b6bb68fad8d5c2bb67 100755 (executable)
@@ -17,7 +17,6 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
 
-LTTNG_BIN="lttng"
 
 SESSION_NAME="coredump-handler"
 
index c155c25f6221f2f93dedf59ce88e6144943b0f59..949cd41df1459db3f3898ed1aeca49f6d2d2c178 100755 (executable)
@@ -19,7 +19,6 @@ TEST_DESC="Event exclusion"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../..
-LTTNG_BIN="lttng"
 STATS_BIN="$TESTDIR/utils/babelstats.pl"
 SESSION_NAME="test-exclusion"
 TESTAPP_PATH="$TESTDIR/utils/testapp"
index 68bbdc18cef8558020ac1e2151e3de9fa524a76f..81901a68823cc1b9ecbd00b441c91437a8ae1337 100755 (executable)
@@ -19,7 +19,6 @@ TEST_DESC="Filtering - Invalid filters"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../..
-LTTNG_BIN="lttng"
 SESSION_NAME="filter-invalid"
 EVENT_NAME="bogus"
 ENABLE_EVENT_STDERR="/tmp/invalid-filters-stderr"
index 985f14e14d106299b894d4faa37f19b75b53d5e4..4d998dd88c27d436505d76e8233a37a9ea198b5c 100755 (executable)
@@ -19,7 +19,6 @@ TEST_DESC="Filtering - Unsupported operators"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../..
-LTTNG_BIN="lttng"
 SESSION_NAME="filter-unsupported-ops"
 EVENT_NAME="bogus"
 ENABLE_EVENT_STDERR="/tmp/unsupported-ops-enable"
index a425a297259efc612acd3a47f97040dadada2237..163b32182f72ad00c32911d81503196766e68141 100755 (executable)
@@ -19,7 +19,6 @@ TEST_DESC="Filtering - Valid filters"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../..
-LTTNG_BIN="lttng"
 STATS_BIN="$TESTDIR/utils/babelstats.pl"
 SESSION_NAME="valid_filter"
 NR_ITER=100
index 39f5b874e50e5d756e958491d7f93fef3fec6da2..96e21211574c2de43f12165040edcab2ee395e2a 100644 (file)
@@ -15,7 +15,6 @@
 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 TESTDIR=${CURDIR}/../../..
-LTTNG_BIN="lttng"
 UST_EVENT_NAME="tp:tptest"
 KERNEL_EVENT_NAME="sched_switch"
 CHANNEL_NAME="testchan"
index ae4596ad73ee0f054f970ef0cb018be27550ec74..e81d6ed24b1ec1dde410907dd7dcafd2c40283d7 100755 (executable)
@@ -20,7 +20,6 @@ TEST_DESC="Health check - Thread OK"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../..
-LTTNG_BIN="lttng"
 SESSION_NAME="health_thread_ok"
 UST_EVENT_NAME="tp:tptest"
 KERNEL_EVENT_NAME="sched_switch"
index 0e542da6a6b76f6010e7e75649a1db0da491f7a6..c3a2dfc979ca46752a99705cdbcfc0ebab07ec94 100755 (executable)
@@ -20,10 +20,6 @@ TEST_DESC="Live - Kernel space tracing"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../../
-SESSIOND_BIN="lttng-sessiond"
-RELAYD_BIN="lttng-relayd"
-LTTNG_BIN="lttng"
-BABELTRACE_BIN="babeltrace"
 NR_ITER=1
 NR_USEC_WAIT=1
 DELAY_USEC=2000000
index 98f3b9e9d2209c5403f4dd03c9638215e5b6738a..a757ff37a962fe8516a0ccdd5d793a3befbf79c3 100755 (executable)
@@ -20,9 +20,6 @@ TEST_DESC="Live - Kernel space tracing"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../../
-SESSIOND_BIN="lttng-sessiond"
-RELAYD_BIN="lttng-relayd"
-LTTNG_BIN="lttng"
 DELAY_USEC=2000000
 
 SESSION_NAME="live"
index 7d6cc93f1b5692229105a9f2222365fa9cb920d7..b9a9970584797390270ae58954c55f5c52298b4b 100755 (executable)
@@ -20,10 +20,6 @@ TEST_DESC="Live - User space tracing"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../../
-SESSIOND_BIN="lttng-sessiond"
-RELAYD_BIN="lttng-relayd"
-LTTNG_BIN="lttng"
-BABELTRACE_BIN="babeltrace"
 NR_ITER=1
 NR_USEC_WAIT=1
 DELAY_USEC=2000000
index 0b96858aabac032960f4bebc1ea80b11cf9d1038..01494d880642d5e0bcd88d9ea6de8e4ca2efdd9d 100755 (executable)
@@ -20,10 +20,6 @@ TEST_DESC="Live - User space tracing"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../../
-SESSIOND_BIN="lttng-sessiond"
-RELAYD_BIN="lttng-relayd"
-LTTNG_BIN="lttng"
-BABELTRACE_BIN="babeltrace"
 NR_ITER=1
 NR_USEC_WAIT=1
 DELAY_USEC=2000000
index 54d6a528f70c1f50b5ca6d6bbc07e65128185bac..6da368fc6cc786052b64ed678071b842bdc09f3c 100755 (executable)
@@ -20,10 +20,6 @@ TEST_DESC="Live - User space tracing with tracefile_count"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../../
-SESSIOND_BIN="lttng-sessiond"
-RELAYD_BIN="lttng-relayd"
-LTTNG_BIN="lttng"
-BABELTRACE_BIN="babeltrace"
 NR_ITER=1
 NR_USEC_WAIT=1
 DELAY_USEC=2000000
index 0d3bd4f6d5d853da1e7ffbfd7cc05d35c7b33dcf..875dbb99a480f834433cb4209fbc3db681eba113 100755 (executable)
@@ -20,8 +20,6 @@ TEST_DESC="Machine interface testing"
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../../
 XSD_PATH=$TESTDIR/../src/common/mi-lttng-3.0.xsd
-SESSIOND_BIN="lttng-sessiond"
-RELAYD_BIN="lttng-relayd"
 
 #Test app for ust event
 TESTAPP_PATH="$TESTDIR/utils/testapp"
index 35b5d7bd50629ef96a5a2bae4dafd25564e3e755..7ee5e9906a59d51f48f1946b1e0c0c157a8924ca 100755 (executable)
@@ -20,9 +20,6 @@ TEST_DESC="Auto load session(s)"
 CURDIR=$(dirname $0)/
 CONFIG_DIR="${CURDIR}/configuration"
 TESTDIR=$CURDIR/../../../
-SESSIOND_BIN="lttng-sessiond"
-RELAYD_BIN="lttng-relayd"
-LTTNG_BIN="lttng"
 export LTTNG_SESSION_CONFIG_XSD_PATH=$(readlink -m ${TESTDIR}../src/common/config/)
 
 DIR=$(readlink -f $TESTDIR)
index 2e51b2e0d2261133f5c34462baff945b44bae899..d201b53af5ec650d300d7412de14e2df99f10c41 100755 (executable)
@@ -20,9 +20,6 @@ TEST_DESC="Load session(s)"
 CURDIR=$(dirname $0)/
 CONFIG_DIR="${CURDIR}/configuration"
 TESTDIR=$CURDIR/../../../
-SESSIOND_BIN="lttng-sessiond"
-RELAYD_BIN="lttng-relayd"
-LTTNG_BIN="lttng"
 export LTTNG_SESSION_CONFIG_XSD_PATH=$(readlink -m ${TESTDIR}../src/common/config/)
 
 SESSION_NAME="load-42"
index 467722e43b9e2f81e4329fec0a70d101f033f782..c5f6b1341c4afeb7b019919e732809ed4bb0d727 100755 (executable)
@@ -19,9 +19,6 @@ TEST_DESC="Save session(s)"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../../
-SESSIOND_BIN="lttng-sessiond"
-RELAYD_BIN="lttng-relayd"
-LTTNG_BIN="lttng"
 
 SESSION_NAME="save-42"
 CHANNEL_NAME="chan-save"
index 34ee901203eff607293303194c425d64738c2180..61ea67a72b3eb8b27ff600d773cd554e188c6fb2 100755 (executable)
@@ -20,7 +20,6 @@ TEST_DESC="LTTng - Event wildcard test"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../../..
-LTTNG_BIN="lttng"
 TESTAPP_PATH="$TESTDIR/utils/testapp"
 TESTAPP_NAME="gen-ust-events"
 TESTAPP_BIN="$TESTAPP_PATH/$TESTAPP_NAME/$TESTAPP_NAME"
index 072d74a644d2389b6fbde16fd8b3458a41498d73..9b58cb27635dcb8020c5e840e8e0e94b24a3bf9f 100755 (executable)
@@ -19,7 +19,6 @@ TEST_DESC="UST tracer - Basic events"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../..
-LTTNG_BIN="lttng"
 BIN_NAME="gen-ust-events"
 SESSION_NAME="valid_filter"
 EVENT_NAME="tp:tptest"
index 3328fe8f1686a9e9dd45cf31b40cdc08a334e12d..4e665e65e5eb3b8359c1c0213aeb84554ca73903 100755 (executable)
@@ -20,7 +20,6 @@ TEST_DESC="UST tracer - Perf counters"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../..
-LTTNG_BIN="lttng"
 SESSION_NAME="perf_counters"
 EVENT_NAME="tp:tptest"
 NUM_TESTS=24
index 1aa2ff426be2720e17828a97ef0d6dc102b31169..6cd354a98172514839358e04a1daf8d361d2eb94 100755 (executable)
@@ -20,7 +20,6 @@ TEST_DESC="UST tracer - tracef events"
 
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../..
-LTTNG_BIN="lttng"
 TESTAPP_PATH="$TESTDIR/utils/testapp"
 TESTAPP_NAME="gen-ust-tracef"
 TESTAPP_BIN="$TESTAPP_PATH/$TESTAPP_NAME/$TESTAPP_NAME"
index 90ef81963bfd57868726dc9682557176caae0388..82e8ad505bbd4d9f789a5032afe8a0794389dcb7 100755 (executable)
@@ -57,8 +57,6 @@ function check_sessiond()
 
 function start_sessiond()
 {
-       local SESSIOND_BIN="lttng-sessiond"
-
        validate_kernel_version
        if [ $? -ne 0 ]; then
                fail "Start session daemon"
index 3d355822476b1ecf57180d1d4ff01968db088dcf..a1b910f0239215170ac30405ee0dea1564723ef9 100755 (executable)
@@ -79,8 +79,6 @@ function check_relayd()
 
 function start_sessiond()
 {
-       local SESSIOND_BIN="lttng-sessiond"
-
        validate_kernel_version
        if [ $? -ne 0 ]; then
                fail "Start session daemon"
@@ -99,7 +97,6 @@ function start_sessiond()
 function start_relayd
 {
        local opt=$1
-       local RELAYD_BIN="lttng-relayd"
 
        if [ -z $(pgrep --full lt-$RELAYD_BIN) ]; then
                $TESTDIR/../src/bin/lttng-relayd/$RELAYD_BIN $opt >$LOG_FILE_RELAYD 2>&1 &
index 0f6e49a9fe62a9fc57938e6cec2c83efc4a7cae5..43b995d200953a2fe5807959e3dd7e6437fc05e4 100755 (executable)
@@ -66,8 +66,6 @@ function check_sessiond()
 
 function start_sessiond()
 {
-       local SESSIOND_BIN="lttng-sessiond"
-
        validate_kernel_version
        if [ $? -ne 0 ]; then
                fail "Start session daemon"
@@ -88,7 +86,6 @@ function start_sessiond()
 function start_relayd
 {
        local opt=$1
-       local RELAYD_BIN="lttng-relayd"
 
        if [ -z $(pgrep --full lt-$RELAYD_BIN) ]; then
                $TESTDIR/../src/bin/lttng-relayd/$RELAYD_BIN $opt >$LOG_FILE_RELAYD 2>&1 &
This page took 0.0352 seconds and 4 git commands to generate.