mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
Fix python test_list
The test arbitrarily checked some printed output which changed. Signed-off-by: Justin Husted <sigstop@gmail.com>
This commit is contained in:
parent
d937e485b6
commit
bf4e896460
@ -37,7 +37,9 @@ def test_list(tmpdir):
|
|||||||
assert ret.returncode == 0
|
assert ret.returncode == 0
|
||||||
assert len(ret.stderr) == 0
|
assert len(ret.stderr) == 0
|
||||||
assert "recovering from clean shutdown" in ret.stdout
|
assert "recovering from clean shutdown" in ret.stdout
|
||||||
assert len(ret.stdout.splitlines()) == 95
|
|
||||||
|
# Totally arbitrary, feel free to update or remove after inspecting.
|
||||||
|
assert len(ret.stdout.splitlines()) == 97
|
||||||
|
|
||||||
def test_list_inodes(tmpdir):
|
def test_list_inodes(tmpdir):
|
||||||
dev = util.format_1g(tmpdir)
|
dev = util.format_1g(tmpdir)
|
||||||
|
Loading…
Reference in New Issue
Block a user