tests: fix "make check" with dash
tests: fix "make check" with dash

/bin/dash does not support ERR trap signal and ">&" redirect.  Also
fix copying non-existing component file.

BUG=none

Review URL: https://codereview.appspot.com/6478058

j717273419/ibus,ibus/ibus,ibus/ibus,fujiwarat/ibus,ueno/ibus,j717273419/ibus,ueno/ibus,fujiwarat/ibus,fujiwarat/ibus,j717273419/ibus,ueno/ibus,fujiwarat/ibus,Keruspe/ibus,j717273419/ibus,Keruspe/ibus,ibus/ibus,ueno/ibus,ueno/ibus,ibus/ibus,Keruspe/ibus,Keruspe/ibus