mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-13 17:37:42 +00:00
test/e2e: remove RHEL7 workaround
AFAIK the latest podman will not even run on RHEL 7 anymore, in any case we do not need these tests to run there. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
bc22aefce6
commit
17a06d3431
1 changed files with 0 additions and 14 deletions
|
|
@ -155,20 +155,6 @@ var _ = SynchronizedBeforeSuite(func() []byte {
|
|||
// tests are remote, this is a no-op
|
||||
populateCache(podman)
|
||||
|
||||
host := GetHostDistributionInfo()
|
||||
if host.Distribution == "rhel" && strings.HasPrefix(host.Version, "7") {
|
||||
f, err := os.OpenFile("/proc/sys/user/max_user_namespaces", os.O_WRONLY, 0644)
|
||||
if err != nil {
|
||||
GinkgoWriter.Println("Unable to enable userspace on RHEL 7")
|
||||
os.Exit(1)
|
||||
}
|
||||
_, err = f.WriteString("15000")
|
||||
if err != nil {
|
||||
GinkgoWriter.Println("Unable to enable userspace on RHEL 7")
|
||||
os.Exit(1)
|
||||
}
|
||||
f.Close()
|
||||
}
|
||||
path, err := os.MkdirTemp("", "libpodlock")
|
||||
if err != nil {
|
||||
GinkgoWriter.Println(err)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue