Fixes of some errors discovered by "set -u"
commitc83d1acc7c87c3ad779e7d645154c0b90c271f27
authorJiri Palecek <jirka@debian.(none)>
Sun, 29 Nov 2009 16:29:50 +0000 (29 17:29 +0100)
committerJiri Palecek <jirka@debian.(none)>
Sat, 12 Dec 2009 13:47:47 +0000 (12 14:47 +0100)
treeb04a3b9b783326d3ad33020ab4b7c8c6cfc8d764
parent8194ff1860ea7fd67ab26944b7f400bc1fed4aa4
Fixes of some errors discovered by "set -u"

 - read of $TEST_USER before it's set in ftp03

 - remnants of the $COMMAND variable which isn't really there anymore
   in netstat01

 - probably a typo in rsh01 ($COUNT vs. $TST_COUNT)

 - $2 has to be escaped twice in rwho01, to appear in the awk script

 - when no interface is found tcpdump01, $IF is unset, don't spit out
   an error in that case
testcases/network/tcp_cmds/ftp/ftp03
testcases/network/tcp_cmds/netstat/netstat01
testcases/network/tcp_cmds/rsh/rsh01
testcases/network/tcp_cmds/rwho/rwho01
testcases/network/tcp_cmds/tcpdump/tcpdump01