terminology/tests/utils.sh

10 lines
167 B
Bash
Raw Permalink Normal View History

2020-12-25 04:46:38 -08:00
#!/bin/sh
test_sleep()
{
#only sleep when running the test within terminology with test ui on
if [ "$IN_TY_TEST_UI" = "1" ]; then
2020-12-25 04:46:38 -08:00
sleep "$1"
fi
}