sh: compare strings but not illegal numbers
occurs when IN_TY_TEST_UI is not defined
This commit is contained in:
parent
4a005e2551
commit
ba9d951b28
|
@ -3,7 +3,7 @@
|
|||
test_sleep()
|
||||
{
|
||||
#only sleep when running the test within terminology with test ui on
|
||||
if [ "$IN_TY_TEST_UI" -eq "1" ]; then
|
||||
if [ "$IN_TY_TEST_UI" = "1" ]; then
|
||||
sleep "$1"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue