diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-11-20 11:00:45 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-20 11:03:09 +0100 |
commit | b28198b4cdfcf5e954988b1fcdb9ffa967d8dea8 (patch) | |
tree | 6f43d1b4e924c260667482ff67d1bcea19e6c530 /community/libgweather/fix-test.patch | |
parent | 6b738a488f519bb5ea7afd63fa8a42fd234418df (diff) |
community/libgweather: fix tests
Diffstat (limited to 'community/libgweather/fix-test.patch')
-rw-r--r-- | community/libgweather/fix-test.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/libgweather/fix-test.patch b/community/libgweather/fix-test.patch new file mode 100644 index 00000000000..47ee7ae42bb --- /dev/null +++ b/community/libgweather/fix-test.patch @@ -0,0 +1,28 @@ +From ee246dc058098dee1709d76635e72db35efcef4e Mon Sep 17 00:00:00 2001 +From: Bastien Nocera <hadess@hadess.net> +Date: Wed, 20 Nov 2019 10:55:02 +0100 +Subject: [PATCH] tests: Add another duplicate + +$ wget -O- -q https://www.aviationweather.gov/docs/metar/stations.txt | grep KX26 +FL SEBASTIAN KX26 X26 27 49N 080 30W 6 X W 8 US +FL VALKARIA AFS KX26 X26 27 49N 080 30W 6 X 8 US +--- + libgweather/test_libgweather.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libgweather/test_libgweather.c b/libgweather/test_libgweather.c +index 1bfa3d4..8a21911 100644 +--- a/libgweather/test_libgweather.c ++++ b/libgweather/test_libgweather.c +@@ -336,6 +336,7 @@ parse_metar_stations (const char *contents) + "KHQG", + "KOEL", + "KTQK", ++ "KX26", + NULL + }; + if (g_strv_contains (known_duplicates, station)) { +-- +2.22.0 + + |