Fix svace issue - test interval range 79/114979/2 accepted/tizen/common/20170216.094110 accepted/tizen/ivi/20170216.095120 accepted/tizen/mobile/20170216.095030 accepted/tizen/tv/20170216.095044 accepted/tizen/wearable/20170216.095100 submit/tizen/20170216.040421
authorkj7.sung <kj7.sung@samsung.com>
Thu, 16 Feb 2017 03:48:22 +0000 (12:48 +0900)
committerkj7.sung <kj7.sung@samsung.com>
Thu, 16 Feb 2017 03:54:01 +0000 (12:54 +0900)
Change-Id: I168f39e2abf527c69c1351669ad04a532041af13
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
test/location_test.c

index 8bc6ad7..fdab564 100755 (executable)
@@ -520,7 +520,7 @@ static int location_test()
                fprintf(stderr, "\n     Input position interval ==> ");
                ret = scanf("%d", &interval);
 
-               if (interval > 1000 && interval < -1000)
+               if (interval > 120 || interval < 1)
                        interval = 1;
 
                int method = menu - 11;