Skip to content

Commit

Permalink
test: run mkdwarfs with different logging levels
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Dec 22, 2023
1 parent 03a9d9c commit 72202d6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/dwarfs_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -1210,7 +1210,7 @@ TEST_P(tools_test, categorize) {
fsdata_dir.string(),
"-o",
image.string(),
"--no-progress",
"--log-level=verbose",
"--categorize",
"-S",
"16",
Expand Down

0 comments on commit 72202d6

Please sign in to comment.