Skip to content

Commit

Permalink
test: accept /usr/bin/bash as valid path
Browse files Browse the repository at this point in the history
Arch seems to want to use /usr/bin/bash as the path to the default
shell.  Accept it as a valid alternative.
  • Loading branch information
allisonkarlitskaya authored and martinpitt committed Feb 3, 2024
1 parent 87483a9 commit ce58d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/verify/check-users
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class TestAccounts(testlib.MachineCase):
b.wait_visible("#account-locked:not(:checked)")
# check home directory and shell for root
b.wait_text("#account-home-dir", "/root")
b.wait_text("#account-shell", "/bin/bash")
b.wait_in_text("#account-shell", "/bin/bash") # can be /usr/bin/bash or /bin/bash
# root account should not be locked by default on our images
self.assertIn(m.execute("passwd -S root").split()[1], ["P", "PS"])
# now lock account
Expand Down

0 comments on commit ce58d96

Please sign in to comment.