Skip to content

Commit 44eae70

Browse files
yedayakscop
authored andcommitted
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.
1 parent ced59c3 commit 44eae70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/t/test_ls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_3(self, bash):
2525
bash,
2626
"for u in $(compgen -u); do "
2727
"eval test -d ~$u || echo $u; unset -v u; done",
28-
want_output=True,
28+
want_output=None, # We might not find anything
2929
)
3030
.strip()
3131
.split()

0 commit comments

Comments
 (0)