You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Dominic Hamon (JIRA)" <ji...@apache.org> on 2014/11/10 20:36:34 UTC

[jira] [Updated] (MESOS-1424) Mesos tests should not rely on echo

     [ https://issues.apache.org/jira/browse/MESOS-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominic Hamon updated MESOS-1424:
---------------------------------
    Labels: cleanup easyfix newbie osx tests  (was: cleanup easyfix osx tests)

> Mesos tests should not rely on echo
> -----------------------------------
>
>                 Key: MESOS-1424
>                 URL: https://issues.apache.org/jira/browse/MESOS-1424
>             Project: Mesos
>          Issue Type: Improvement
>          Components: test
>            Reporter: Till Toenshoff
>            Priority: Minor
>              Labels: cleanup, easyfix, newbie, osx, tests
>
> Triggered by MESOS-1413 I would like to propose changing our tests to not rely on {{echo}} but to use {{printf}} instead.
> This seems to be useful as {{echo}} is introducing an extra linefeed after the supplied string whereas {{printf}} does not. The {{-n}} switch preventing that extra linefeed is unfortunately not portable - it is not supported by the builtin {{echo}} of the BSD / OSX {{/bin/sh}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)