From 42d3d28cb392152c85db3fdd050fb3996c60dd1f Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Fri, 22 Dec 2023 21:43:32 +0100 Subject: [PATCH] test: run mkdwarfs with different logging levels --- test/dwarfs_tools.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/dwarfs_tools.cpp b/test/dwarfs_tools.cpp index 9ddd83fa..6328631c 100644 --- a/test/dwarfs_tools.cpp +++ b/test/dwarfs_tools.cpp @@ -703,14 +703,14 @@ TEST_P(tools_test, end_to_end) { ASSERT_TRUE(subprocess::check_run(*mkdwarfs_test_bin, mkdwarfs_tool_arg, "-i", fsdata_dir, "-o", image2, - "--progress=simple")); + "--progress=simple", "--log-level=debug")); ASSERT_TRUE(fs::exists(image2)); ASSERT_GT(fs::file_size(image2), 1000); - ASSERT_TRUE(subprocess::check_run(*mkdwarfs_test_bin, mkdwarfs_tool_arg, "-i", - fsdata_dir, "-o", image2, - "--progress=ascii", "--force")); + ASSERT_TRUE(subprocess::check_run( + *mkdwarfs_test_bin, mkdwarfs_tool_arg, "-i", fsdata_dir, "-o", image2, + "--progress=ascii", "--log-level=trace", "--force")); ASSERT_TRUE(fs::exists(image2)); ASSERT_GT(fs::file_size(image2), 1000); @@ -1210,7 +1210,8 @@ TEST_P(tools_test, categorize) { fsdata_dir.string(), "-o", image.string(), - "--no-progress", + "--progress=ascii", + "--log-level=verbose", "--categorize", "-S", "16",