X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/0201a83dacb71cf75a8311ed69cc103441e2c969..d0ced7c497eccfa3af906bb6b2d33cb27237a7f2:/unitproc/bktemp-checkFlt diff --git a/unitproc/bktemp-checkFlt b/unitproc/bktemp-checkFlt index affc94f..0a0d6e4 100644 --- a/unitproc/bktemp-checkFlt +++ b/unitproc/bktemp-checkFlt @@ -74,6 +74,9 @@ myVar1="foo"; echo "Test 10:Should fail because floats should only contain numbe myVar1="foo"; myVar2="bar"; myVar3="baz"; echo "Test 11: Should fail because multiple arguments provided."; (if checkFlt "$myVar1" "$myVar2" "$myVar3"; then yell "success"; else yell "fail"; fi;) & sleep 1; + +myVar1=""; echo "Test 12: Should fil because empty string."; +(if checkFlt "$myVar1"; then yell "success"; else yell "fail"; fi;) & sleep 1; #==END test code== # Author: Steven Baltakatei Sandoval