shell condition test