[lttng-dev] [PATCH] lttng-tools: remove bogus argument from prove invocation

David Goulet dgoulet at efficios.com
Wed Oct 29 14:28:34 EDT 2014


Merged thanks!

David

On 27 Oct (21:00:06), Nathan Lynch wrote:
> An argument of "$2" was added to the prove command line in
> tests/run.sh by 68270f0f604e "Mi test: Basic test structure".  This is
> harmless since run.sh is never called with more than one argument, but
> it is confusing, and it breaks patches in OE that add support for
> running tests on the target.
> 
> Signed-off-by: Nathan Lynch <nathan_lynch at mentor.com>
> ---
>  tests/run.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/run.sh b/tests/run.sh
> index ce51639f7626..c6c50fd9cff9 100755
> --- a/tests/run.sh
> +++ b/tests/run.sh
> @@ -19,4 +19,4 @@
>  
>  [ -z "$1" ] && echo "Error: No testlist. Please specify a testlist to run." && exit 1
>  
> -prove $2 --merge --exec '' - < $1
> +prove --merge --exec '' - < $1
> -- 
> 1.9.3
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: Digital signature
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20141029/49ad569a/attachment.sig>


More information about the lttng-dev mailing list