local pid
local cwd
- working_dir=$(mktemp -d)
+ working_dir=$(realpath "$(mktemp -d)")
diag "Test lttng-relayd normal mode change working directory"
local cwd
local pid
- working_dir=$(mktemp -d)
+ working_dir=$(realpath "$(mktemp -d)")
diag "Test lttng-relayd daemon mode change working directory"
local cwd
local pid
- working_dir=$(mktemp -d)
+ working_dir=$(realpath "$(mktemp -d)")
diag "Test lttng-relayd background mode change working directory"
local cwd
local pid
- working_dir=$(mktemp -d)
+ working_dir=$(realpath "$(mktemp -d)")
diag "Test lttng-relayd change working directory on non writable directory"
local output_dest
local pid
- working_dir="$(mktemp -d)"
+ working_dir=$(realpath "$(mktemp -d)")
working_dir_imaginary="${working_dir}/imaginary_directory"
output_dest=$(mktemp)
local pid
working_dir=$(mktemp -d)
+ working_dir=$(realpath "$(mktemp -d)")
diag "Test lttng-relayd change working directory from env. variable"
local cwd
local pid
- working_dir_env=$(mktemp -d)
- working_dir_cmdline=$(mktemp -d)
+ working_dir_env=$(realpath "$(mktemp -d)")
+ working_dir_cmdline=$(realpath "$(mktemp -d)")
diag "Test lttng-relayd change working directory command line overwrite env variable"