According to #17178 by MarcoFalke, cd
command (using for changing directory) has some conflicts with Travis builtin command with similar name in some environments (like macOS).
In this PR :
- I tried to solve this issue by replacing
cd
bytype cd
inci/test/06_script_a.sh
andci/test/06_script_b.sh
. - I added function called
safe_cd
as commented in here to avoid duplication in code.