mirror of
https://github.com/rancher/os.git
synced 2025-09-07 17:54:57 +00:00
add a timeout in case a system-container refuses to quit
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -19,7 +19,7 @@ func (s *QemuSuite) TestElideCmdLine(c *C) {
|
||||
s.RunQemuWith(c, runArgs...)
|
||||
|
||||
s.CheckOutput(c, "nope\n", Equals, "hostname")
|
||||
cmdline := s.CheckOutput(c, "", Not(Equals), "cat /proc/cmdline",)
|
||||
cmdline := s.CheckOutput(c, "", Not(Equals), "cat /proc/cmdline")
|
||||
if strings.Contains(cmdline, extra) {
|
||||
c.Errorf("/proc/cmdline (%s) contains info that should be elided (%s)", cmdline, extra)
|
||||
}
|
||||
|
Reference in New Issue
Block a user