tests: readlink 'canonicalize' is GNU specific
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 23 Jul 2019 15:43:13 +0000 (11:43 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Aug 2019 18:05:19 +0000 (14:05 -0400)
commitd3f71134e4b10851c57ed97400caaff882e90678
tree67e186cb6567f23580d6992ccda9138b5d957669
parent4b2d0d1ff995083fa9ac403ffabfd4caf164bec0
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.037982 seconds and 4 git commands to generate.