projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Make test_per_application_leaks more robust
[lttng-tools.git]
/
tests
/
regression
/
ust
/
namespaces
/
test_ns_contexts
diff --git
a/tests/regression/ust/namespaces/test_ns_contexts
b/tests/regression/ust/namespaces/test_ns_contexts
index be038eb28ecf734255fcf62ada37e56d57ec50fd..0af3193eff024d8036142f77db1a67edd5656dd3 100755
(executable)
--- a/
tests/regression/ust/namespaces/test_ns_contexts
+++ b/
tests/regression/ust/namespaces/test_ns_contexts
@@
-44,7
+44,7
@@
function test_ns()
return
fi
return
fi
- trace_path=$(mktemp -
-tmpdir -
d -t "tmp.${FUNCNAME[0]}_trace_path.XXXXXX")
+ trace_path=$(mktemp -d -t "tmp.${FUNCNAME[0]}_trace_path.XXXXXX")
# Get the current ns inode number
ns_inode=$(stat -c '%i' -L "/proc/$$/ns/$ns")
# Get the current ns inode number
ns_inode=$(stat -c '%i' -L "/proc/$$/ns/$ns")
@@
-76,6
+76,8
@@
plan_tests $NUM_TESTS
print_test_banner "$TEST_DESC"
print_test_banner "$TEST_DESC"
+bail_out_if_no_babeltrace
+
system_has_ns=0
if [ -d "/proc/$$/ns" ]; then
system_has_ns=1
system_has_ns=0
if [ -d "/proc/$$/ns" ]; then
system_has_ns=1
This page took
0.023832 seconds
and
4
git commands to generate.