Replace .profile by .bashrc
Detect if clan executable fails in clan tests