continous append of operatingsystem to basic_tests.sh

use sed -i instead of >> to basic_tests when setting the
operatingsystem.

Signed-off-by: Loic Dachary <loic@dachary.org>
Merge pull request #106 from dachary/wip-operatingsystem

continous append of operatingsystem to basic_tests.sh