It isn't used. Fixes the following shellcheck diagnostics:
In test_auto_source_discovery_grouping line 42:
dir_sep='\'
^-- SC1003: Want to escape a single quote? echo 'This is how it'\''s done'.
In test_auto_source_discovery_grouping line 44:
dir_sep='/'
^-----^ SC2034: dir_sep appears unused. Verify use (or export if used externally).
Reported-by: shellcheck
Change-Id: I9db00870cd697d5ad3bd5aa362a030a4b75f4e4c
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2419
Tested-by: jenkins <jenkins@lttng.org>
plugin_dir="${data_dir}"
trace_dir="${data_dir}/traces"
-if [ "$BT_OS_TYPE" = "mingw" ]; then
- # Use Windows native paths for comparison because Unix
- # paths are converted by the shell before they are passed
- # to the native babeltrace2 binary.
- trace_dir=$(cygpath -w "$trace_dir")
- dir_sep='\'
-else
- dir_sep='/'
-fi
-
stdout_expected_file="${BT_TESTS_DATADIR}/cli/convert/auto-source-discovery-grouping.expect"
stdout_actual_file=$(mktemp -t stdout-actual.XXXXXX)
stderr_actual_file=$(mktemp -t actual-stderr.XXXXXX)