test: fix bugs (scp -l and trap ERR) 85/10285/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:11:47 +0000 (22:11 +0900)
commiteed432fa413d3afeecdd65ef0f73559920012df9
tree2b14a81f30891270dc634f4e19e49a66a60aaf0c
parentac95693eedfd0ec9593e46f9a57f5d989e25f9bd
test: fix bugs (scp -l and trap ERR)

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>
tests/run.sh