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)
commit285c22406de5e74104cdd92468bcb6a0705f1eb4
tree2b14a81f30891270dc634f4e19e49a66a60aaf0c
parentb96d1f177848ba12ca153c2e8e34b1fca8ee9ced
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>
(cherry picked from commit eed432fa413d3afeecdd65ef0f73559920012df9)
tests/run.sh