Fix vala t_detects_not_running_in_testbed() test case

buf is not a terminated string. Just compare the single char that we are
actually reading.