From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2 2/2] network: Fix using local for some non-bash shells
Date: Mon, 23 Jan 2017 15:02:59 +0100 [thread overview]
Message-ID: <20170123140259.20053-2-pvorel@suse.cz> (raw)
In-Reply-To: <20170123140259.20053-1-pvorel@suse.cz>
This fix 'local: fd00:1:1:1::1: bad variable name' for ipneigh01.sh
in dash.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
testcases/network/tcp_cmds/ipneigh/ipneigh01.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testcases/network/tcp_cmds/ipneigh/ipneigh01.sh b/testcases/network/tcp_cmds/ipneigh/ipneigh01.sh
index f423ddc62..99bab1621 100755
--- a/testcases/network/tcp_cmds/ipneigh/ipneigh01.sh
+++ b/testcases/network/tcp_cmds/ipneigh/ipneigh01.sh
@@ -29,8 +29,8 @@ do_setup()
do_test()
{
- local arp_show_cmd=$1
- local arp_del_cmd=$2
+ local arp_show_cmd="$1"
+ local arp_del_cmd="$2"
local entry_name
[ "$TST_IPV6" ] && entry_name="NDISC" || entry_name="ARP"
--
2.11.0
next prev parent reply other threads:[~2017-01-23 14:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-23 14:02 [LTP] [PATCH v2 1/2] network: Fix export for some non-bash shells Petr Vorel
2017-01-23 14:02 ` Petr Vorel [this message]
2017-01-23 21:04 ` Mike Frysinger
2017-01-25 13:30 ` Alexey Kodanev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170123140259.20053-2-pvorel@suse.cz \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.