tests: add missing utils.sh

terminology-1.9
Boris Faure 2 years ago
parent 759eeb8168
commit 4a005e2551
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
  1. 9
      tests/utils.sh

@ -0,0 +1,9 @@
#!/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
}
Loading…
Cancel
Save