Renamed fetcher test to trigger the UNZIP filter. Renamed the fetcher tests that depend on unzip(1) so that they will trigger the UNZIP test filter and automatically be disabled if unzip(1) is not present.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3b48fd60 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3b48fd60 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/3b48fd60 Branch: refs/heads/1.5.x Commit: 3b48fd6074883f50c0d7a37c25cb5a6af50f6418 Parents: 7760e6e Author: James Peach <jpe...@apache.org> Authored: Fri Dec 29 22:38:28 2017 -0800 Committer: Michael Park <mp...@apache.org> Committed: Tue Feb 13 13:45:06 2018 -0800 ---------------------------------------------------------------------- src/tests/fetcher_tests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/3b48fd60/src/tests/fetcher_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/fetcher_tests.cpp b/src/tests/fetcher_tests.cpp index bce59d4..1b4ba1d 100644 --- a/src/tests/fetcher_tests.cpp +++ b/src/tests/fetcher_tests.cpp @@ -826,7 +826,7 @@ TEST_F(FetcherTest, ExtractGzipFile) #endif // __WINDOWS__ -TEST_F(FetcherTest, Unzip_ExtractFile) +TEST_F(FetcherTest, UNZIP_ExtractFile) { // Construct a tmp file that can be fetched and archived with zip. string fromDir = path::join(os::getcwd(), "from"); @@ -878,7 +878,7 @@ TEST_F(FetcherTest, Unzip_ExtractFile) } -TEST_F(FetcherTest, Unzip_ExtractInvalidFile) +TEST_F(FetcherTest, UNZIP_ExtractInvalidFile) { // Construct a tmp file that can be filled with broken zip. string fromDir = path::join(os::getcwd(), "from"); @@ -950,7 +950,7 @@ TEST_F(FetcherTest, Unzip_ExtractInvalidFile) } -TEST_F(FetcherTest, Unzip_ExtractFileWithDuplicatedEntries) +TEST_F(FetcherTest, UNZIP_ExtractFileWithDuplicatedEntries) { // Construct a tmp file that can be filled with zip containing // duplicates.