diff --git a/lib/utils/utils_test.go b/lib/utils/utils_test.go index 2c29c4173a4bc..8524571a5de19 100644 --- a/lib/utils/utils_test.go +++ b/lib/utils/utils_test.go @@ -72,5 +72,5 @@ func (s *UtilsSuite) TestGetShell(c *check.C) { shell, err = GetLoginShell("daemon") c.Assert(err, check.IsNil) - c.Assert(shell == "/usr/sbin/nologin" || shell == "/usr/bin/false", check.Equals, true) + c.Assert(shell == "/usr/sbin/nologin" || shell == "/usr/bin/nologin" || shell == "/usr/bin/false", check.Equals, true) }