From: Jérémie Galarneau Date: Tue, 4 Feb 2020 00:51:08 +0000 (-0500) Subject: Tests: fix: test_relayd_working_directory fails as user X-Git-Tag: v2.12.0-rc1~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e7b7a0e3be68a5a9cadb2d98aed69be873f7563c;p=lttng-tools.git Tests: fix: test_relayd_working_directory fails as user A formating issue introduced by 15da468cd causes the temporary directory of the a test to be initialized incorrectly, causing it to fail when it is not skipped (executed as a non-root user). Signed-off-by: Jérémie Galarneau Change-Id: Idd09f27fa2ce0f5991056ab52bc1718080122151 --- diff --git a/tests/regression/tools/working-directory/test_relayd_working_directory b/tests/regression/tools/working-directory/test_relayd_working_directory index 8856a921b..0a5bad027 100755 --- a/tests/regression/tools/working-directory/test_relayd_working_directory +++ b/tests/regression/tools/working-directory/test_relayd_working_directory @@ -169,7 +169,8 @@ function test_relayd_debug_permission() # Redirect the error output to a temporary file - ERROR_OUTPUT_DEST=$(mktemp) start_lttng_relayd_opt 1 "-b" "-v --working-dir $working_dir" + ERROR_OUTPUT_DEST=$(mktemp) + start_lttng_relayd_opt 1 "-b" "-v --working-dir $working_dir" pid=$(pgrep "$RELAYD_MATCH") ok $? "Found lttng-relayd"