test: run check-update on dnf/yum (#11430)

This commit is contained in:
Joshua Powers 2022-06-30 09:19:09 -06:00 committed by GitHub
parent f55de4aecf
commit 4e5b749289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ func (c *Container) configureYum() error {
return err
}
return c.client.Exec(c.Name, "yum", "update")
return c.client.Exec(c.Name, "yum", "check-update")
}
// Create config and update dnf
@ -189,7 +189,7 @@ func (c *Container) configureDnf() error {
return err
}
return c.client.Exec(c.Name, "dnf", "update")
return c.client.Exec(c.Name, "dnf", "check-update")
}
// Create config and update zypper