]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
Fix python test_list
authorJustin Husted <sigstop@gmail.com>
Fri, 4 Jun 2021 22:28:17 +0000 (15:28 -0700)
committerJustin Husted <sigstop@gmail.com>
Fri, 4 Jun 2021 22:28:17 +0000 (15:28 -0700)
The test arbitrarily checked some printed output which changed.

Signed-off-by: Justin Husted <sigstop@gmail.com>
tests/test_basic.py

index 47b621c98f4a3f80168fa1bc180f49fc1954629c..6278102838bda7b32334156a22ec677a620e2f0a 100644 (file)
@@ -37,7 +37,9 @@ def test_list(tmpdir):
     assert ret.returncode == 0
     assert len(ret.stderr) == 0
     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):
     dev = util.format_1g(tmpdir)