diff mbox

[nft] tests/shell: delete unused variable in run-tests.sh

Message ID 146564035699.7164.17539179584212489576.stgit@nfdev2.cica.es
State Accepted
Delegated to: Pablo Neira
Headers show

Commit Message

Arturo Borrero June 11, 2016, 10:19 a.m. UTC
This ${TESTS_OUTPUT} variable is empty. Delete it.

It was probably an idea about dinamically redirecting testscases output.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
---
 tests/shell/run-tests.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Pablo Neira Ayuso June 15, 2016, 12:02 p.m. UTC | #1
On Sat, Jun 11, 2016 at 12:19:17PM +0200, Arturo Borrero Gonzalez wrote:
> This ${TESTS_OUTPUT} variable is empty. Delete it.
> 
> It was probably an idea about dinamically redirecting testscases output.

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/tests/shell/run-tests.sh b/tests/shell/run-tests.sh
index 921080f..b10445d 100755
--- a/tests/shell/run-tests.sh
+++ b/tests/shell/run-tests.sh
@@ -76,7 +76,7 @@  do
 	rc_spec=$(awk -F${RETURNCODE_SEPARATOR} '{print $NF}' <<< $testfile)
 
 	msg_info "[EXECUTING]	$testfile"
-	test_output=$(NFT=$NFT ${testfile} ${TESTS_OUTPUT} 2>&1)
+	test_output=$(NFT=$NFT ${testfile} 2>&1)
 	rc_got=$?
 	echo -en "\033[1A\033[K" # clean the [EXECUTING] foobar line