Fix svace issue - test interval range 78/114978/3 accepted/tizen/3.0/common/20170220.125527 accepted/tizen/3.0/ivi/20170220.013152 accepted/tizen/3.0/mobile/20170220.013101 accepted/tizen/3.0/tv/20170220.013116 accepted/tizen/3.0/wearable/20170220.013138 submit/tizen_3.0/20170216.032059
authorkj7.sung <kj7.sung@samsung.com>
Thu, 16 Feb 2017 03:46:37 +0000 (12:46 +0900)
committerkj7.sung <kj7.sung@samsung.com>
Thu, 16 Feb 2017 03:53:23 +0000 (12:53 +0900)
Change-Id: Ib91e24ef4d666be5f55100864273943c5f4b9512
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
test/location_test.c

index 8bc6ad7314183e5ed1c376bd512c972aee79fec4..fdab564c06faf20a55a5096f1cc0bb5425488758 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;