diff mbox series

[3/3] selftest: net: remove meaningless help option

Message ID 20211201111025.13834-3-lizhijian@cn.fujitsu.com (mailing list archive)
State New
Headers show
Series [1/3] selftest: net: Correct case name | expand

Commit Message

Li Zhijian Dec. 1, 2021, 11:10 a.m. UTC
$ ./fcnal-test.sh -t help
Test names: help

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
---
 tools/testing/selftests/net/fcnal-test.sh | 2 --
 1 file changed, 2 deletions(-)

Comments

Jakub Kicinski Dec. 2, 2021, 1:52 a.m. UTC | #1
On Wed, 1 Dec 2021 19:10:25 +0800 Li Zhijian wrote:
> $ ./fcnal-test.sh -t help
> Test names: help
> 
> Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>

Not sure why the "help" test was added in the first place but could you
provide motivation for the patch in the commit message?
diff mbox series

Patch

diff --git a/tools/testing/selftests/net/fcnal-test.sh b/tools/testing/selftests/net/fcnal-test.sh
index 9111b8952ac8..a4d86862764d 100755
--- a/tools/testing/selftests/net/fcnal-test.sh
+++ b/tools/testing/selftests/net/fcnal-test.sh
@@ -4075,8 +4075,6 @@  do
 	# setup namespaces and config, but do not run any tests
 	setup)		 setup; exit 0;;
 	vrf_setup)	 setup "yes"; exit 0;;
-
-	help)            echo "Test names: $TESTS"; exit 0;;
 	esac
 done