Simple library for testing shell programs