Skip to content

Commit 1411df3

Browse files
committed
Adding back the image description to the test
1 parent 22b8e56 commit 1411df3

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

tests/tools/test_shell.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,17 @@ def test_benchmark_ls_bin(
622622
args: str,
623623
capsys: pytest.CaptureFixture,
624624
) -> None:
625-
"""Benchmark ls command with different parameters with a /bin directory containing ~1000 files."""
625+
"""Benchmark ls command with different parameters with a /bin directory containing ~1000 files.
626+
627+
The image only contains a /bin directory with ~1000 files and an /etc directory with some configuration files.
628+
The rest of the filesystem is not included.
629+
630+
The /bin files are all sparse (filled with zeros).
631+
The files in /etc do contain data.
632+
633+
The source image is stored compressed in the test data directory to save space.
634+
Compressed size is 100kb and decompresses to 5mb.
635+
"""
626636
with gzip.open(absolute_path("_data/filesystems/ext4/debian-trixie-bin-ext4.raw.gz"), "rb") as fh:
627637
raw_image = fh.read()
628638

0 commit comments

Comments
 (0)