Busybox's mktemp command uses mkstemp(3) which requires the last six
characters of the template to be X's. Extend the mktemp templates
used in the test scripts.
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
function test_clock_override_metadata()
{
- local ctf_metadata_file=$(mktemp -p $TRACE_PATH ctf-metadata.XXXXX)
- local clock_metadata_file=$(mktemp -p $TRACE_PATH clock-metadata.XXXXX)
+ local ctf_metadata_file=$(mktemp -p $TRACE_PATH ctf-metadata.XXXXXX)
+ local clock_metadata_file=$(mktemp -p $TRACE_PATH clock-metadata.XXXXXX)
local result=""
diag "Clock override plugin metadata test"
function test_getcpu_override_metadata()
{
- local ctf_metadata_file=$(mktemp -p $TRACE_PATH ctf-metadata.XXXXX)
- local clock_metadata_file=$(mktemp -p $TRACE_PATH clock-metadata.XXXXX)
+ local ctf_metadata_file=$(mktemp -p $TRACE_PATH ctf-metadata.XXXXXX)
+ local clock_metadata_file=$(mktemp -p $TRACE_PATH clock-metadata.XXXXXX)
local result=""
diag "Clock override plugin metadata test"