From 72f330efaa45dc7940cc1d138bb641f0682be9b9 Mon Sep 17 00:00:00 2001 From: Yedaya Katsman Date: Wed, 31 Dec 2025 19:17:44 +0200 Subject: [PATCH] test(ls): Allow empty output for non existing homedirs If all users have a home directory that exists it doesn't return anything. This failed for me in a distrobox container. --- test/t/test_ls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/t/test_ls.py b/test/t/test_ls.py index 56f0ee71e90..05de9afc626 100644 --- a/test/t/test_ls.py +++ b/test/t/test_ls.py @@ -25,7 +25,7 @@ def test_3(self, bash): bash, "for u in $(compgen -u); do " "eval test -d ~$u || echo $u; unset -v u; done", - want_output=True, + want_output=None, # We might not find anything ) .strip() .split()