test: fix bugs (scp -l and trap ERR) 87/10287/1
authorRyota MIBU <r-mibu@cq.jp.nec.com>
Fri, 19 Feb 2016 13:11:47 +0000 (22:11 +0900)
committerRyota Mibu <r-mibu@cq.jp.nec.com>
Fri, 19 Feb 2016 13:15:33 +0000 (13:15 +0000)
This patch fixes bugs:

- '-l' option for scp is different from that of ssh, so remove
  this option from the common param for scp and ssh.

- trap ERR was not executed, so replace it by trap EXIT

Change-Id: Id50ff29656fa100f420ae9ccc7a8a19a65a941c8
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
(cherry picked from commit eed432fa413d3afeecdd65ef0f73559920012df9)


No differences found