shellvar: Fix @logs test in specs (value= succeeds, flush fails)