Repository: mesos Updated Branches: refs/heads/master f429cebcb -> 0da7b6cc3
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/0da7b6cc Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0da7b6cc Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/0da7b6cc Branch: refs/heads/master Commit: 0da7b6cc37786df94465ae98948fd7be669a843e Parents: f429ceb Author: James Peach <[email protected]> Authored: Fri Dec 29 22:38:28 2017 -0800 Committer: James Peach <[email protected]> Committed: Fri Dec 29 22:51:23 2017 -0800 ---------------------------------------------------------------------- src/tests/fetcher_tests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/0da7b6cc/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.
