test: run check-update on dnf/yum (#11430)
This commit is contained in:
parent
f55de4aecf
commit
4e5b749289
|
|
@ -175,7 +175,7 @@ func (c *Container) configureYum() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
return c.client.Exec(c.Name, "yum", "update")
|
return c.client.Exec(c.Name, "yum", "check-update")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create config and update dnf
|
// Create config and update dnf
|
||||||
|
|
@ -189,7 +189,7 @@ func (c *Container) configureDnf() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
return c.client.Exec(c.Name, "dnf", "update")
|
return c.client.Exec(c.Name, "dnf", "check-update")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create config and update zypper
|
// Create config and update zypper
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue