projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deny multiple session with the same name
[lttng-tools.git]
/
tests
/
ltt-sessiond
/
run.sh
diff --git
a/tests/ltt-sessiond/run.sh
b/tests/ltt-sessiond/run.sh
index f8bdf7fef006dea0ad771658846e85f0ef55bdf5..b378285ed008dacdb7dafe62f474b624402a7e08 100755
(executable)
--- a/
tests/ltt-sessiond/run.sh
+++ b/
tests/ltt-sessiond/run.sh
@@
-93,7
+93,7
@@
function test_session_same_name()
{
lttng_create_session "test-same"
lttng_create_session "test-same"
{
lttng_create_session "test-same"
lttng_create_session "test-same"
- if [ $LTTNG_RET_CODE -ne
1
]; then
+ if [ $LTTNG_RET_CODE -ne
0
]; then
echo "[-] Session with the same name: FAILED!"
printf "Two session having the same name NOT ALLOWED\n"
clean_exit 1
echo "[-] Session with the same name: FAILED!"
printf "Two session having the same name NOT ALLOWED\n"
clean_exit 1
This page took
0.023207 seconds
and
4
git commands to generate.