terminology/tests/utils.sh

10 lines
169 B
Bash

#!/bin/sh
test_sleep()
{
#only sleep when running the test within terminology with test ui on
if [ "$IN_TY_TEST_UI" -eq "1" ]; then
sleep "$1"
fi
}