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

Nathan Lynch nathan_lynch at mentor.com
Mon Oct 27 22:00:06 EDT 2014


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




More information about the lttng-dev mailing list