Skip to content

Commit

Permalink
test: run check-update on dnf/yum (#11430)
Browse files Browse the repository at this point in the history
  • Loading branch information
powersj authored and MyaLongmire committed Jul 6, 2022
1 parent 33530a5 commit 3f7565d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/package_lxd_test/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3f7565d

Please sign in to comment.