tests: readlink 'canonicalize' is GNU specific
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 23 Jul 2019 15:43:13 +0000 (11:43 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 23 Jul 2019 19:34:16 +0000 (15:34 -0400)
commit9c5dd55ab776adbdfe69dcad62765c937e0a52e7
tree0953d0c73bd15a2ac3306aac86e449fd8726726c
parente23e08c478a341565d48a1b37dd2ad554be6b84e
tests: readlink 'canonicalize' is GNU specific

On platforms not using the GNU coreutils, namely MacOs, readlink doesn't
have a canonicalize option.

Use it only when availabe, otherwise use the relative paths.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I798e6320dda78c5d9b33a2568b663c57d35d42b3
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1749
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
tests/cli/auto-source-discovery/test_auto_source_discovery
tests/cli/test_convert_args
tests/utils/utils.sh
This page took 0.024628 seconds and 4 git commands to generate.