Merge "sync with latest 3.0" into tizen accepted/tizen/common/20170208.155239 accepted/tizen/ivi/20170210.004138 accepted/tizen/mobile/20170210.003831 accepted/tizen/tv/20170210.004007 accepted/tizen/wearable/20170210.004053 submit/tizen/20170208.093234
authorSeechan Kim <cbible.kim@samsung.com>
Wed, 8 Feb 2017 09:31:03 +0000 (01:31 -0800)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 8 Feb 2017 09:31:04 +0000 (01:31 -0800)
test/location_test.c

index 75d69c7..8bc6ad7 100755 (executable)
@@ -520,6 +520,9 @@ static int location_test()
                fprintf(stderr, "\n     Input position interval ==> ");
                ret = scanf("%d", &interval);
 
+               if (interval > 1000 && interval < -1000)
+                       interval = 1;
+
                int method = menu - 11;
                ret = location_manager_create(method, &manager);
                fprintf(stderr, "location_manager_create (method: %d): %d\n", method, ret);