linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] selftests:mptcp: fix empty optstring
@ 2020-04-02  6:52 Li Zhijian
  2020-04-02  7:21 ` Matthieu Baerts
  2020-05-11  4:47 ` Li Zhijian
  0 siblings, 2 replies; 4+ messages in thread
From: Li Zhijian @ 2020-04-02  6:52 UTC (permalink / raw)
  To: shuah, linux-kselftest; +Cc: linux-kernel, matthieu.baerts, Li Zhijian

From: Li Zhijian <lizhijian@cn.fujitsu.com>

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

diff --git a/tools/testing/selftests/net/mptcp/pm_netlink.sh b/tools/testing/selftests/net/mptcp/pm_netlink.sh
index 9172746b6cf0..8c7998c64d9e 100755
--- a/tools/testing/selftests/net/mptcp/pm_netlink.sh
+++ b/tools/testing/selftests/net/mptcp/pm_netlink.sh
@@ -8,8 +8,7 @@ usage() {
 	echo "Usage: $0 [ -h ]"
 }
 
-
-while getopts "$optstring" option;do
+while getopts "h" option;do
 	case "$option" in
 	"h")
 		usage $0
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-22 15:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-02  6:52 [PATCH] selftests:mptcp: fix empty optstring Li Zhijian
2020-04-02  7:21 ` Matthieu Baerts
2020-05-11  4:47 ` Li Zhijian
2020-05-22 15:00   ` shuah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).