projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: introduce WaitTraceTestApplicationGroup
[lttng-tools.git]
/
tests
/
regression
/
tools
/
save-load
/
test_autoload
diff --git
a/tests/regression/tools/save-load/test_autoload
b/tests/regression/tools/save-load/test_autoload
index b9e15e959b5d363b71172fc4fff70244f4194820..df3fbf153a402faa44020d5d2a22f70e3ab3d64e 100755
(executable)
--- a/
tests/regression/tools/save-load/test_autoload
+++ b/
tests/regression/tools/save-load/test_autoload
@@
-9,7
+9,7
@@
TEST_DESC="Auto load session(s)"
CURDIR=$(dirname $0)/
CONFIG_DIR="${CURDIR}/configuration"
TESTDIR=$CURDIR/../../../
CURDIR=$(dirname $0)/
CONFIG_DIR="${CURDIR}/configuration"
TESTDIR=$CURDIR/../../../
-export LTTNG_SESSION_CONFIG_XSD_PATH=$(readlink -m ${TESTDIR}../src/common/
config/
)
+export LTTNG_SESSION_CONFIG_XSD_PATH=$(readlink -m ${TESTDIR}../src/common/)
DIR=$(readlink -f $TESTDIR)
DIR=$(readlink -f $TESTDIR)
@@
-27,7
+27,7
@@
function test_auto_load_file()
diag "Test auto load file"
start_lttng_sessiond $CURDIR/load-42.lttng
diag "Test auto load file"
start_lttng_sessiond $CURDIR/load-42.lttng
- list_lttng_
with_opts
load-42
+ list_lttng_
ok
load-42
stop_lttng_sessiond
}
stop_lttng_sessiond
}
@@
-38,7
+38,7
@@
function test_auto_load_dir()
cp -f $CURDIR/load-42.lttng $LTTNG_DIR/
start_lttng_sessiond $LTTNG_DIR
cp -f $CURDIR/load-42.lttng $LTTNG_DIR/
start_lttng_sessiond $LTTNG_DIR
- list_lttng_
with_opts
load-42
+ list_lttng_
ok
load-42
stop_lttng_sessiond
}
stop_lttng_sessiond
}
@@
-50,7
+50,7
@@
function test_auto_load_lttng_home()
cp -f $CURDIR/load-42.lttng $LTTNG_HOME/.lttng/sessions/auto
start_lttng_sessiond
cp -f $CURDIR/load-42.lttng $LTTNG_HOME/.lttng/sessions/auto
start_lttng_sessiond
- list_lttng_
with_opts
load-42
+ list_lttng_
ok
load-42
stop_lttng_sessiond
}
stop_lttng_sessiond
}
@@
-62,8
+62,8
@@
TESTS=(
for fct_test in ${TESTS[@]};
do
for fct_test in ${TESTS[@]};
do
- export LTTNG_HOME=$(mktemp -d)
- export LTTNG_DIR=$(mktemp -d)
+ export LTTNG_HOME=$(mktemp -d
-t tmp.test_lttng_home_dir.XXXXXX
)
+ export LTTNG_DIR=$(mktemp -d
-t tmp.test_lttng_dir.XXXXXX
)
${fct_test}
rm -rf $LTTNG_DIR
${fct_test}
rm -rf $LTTNG_DIR
This page took
0.024042 seconds
and
4
git commands to generate.