Skip to content
Snippets Groups Projects
Commit 289e6754 authored by Te-Hung Tseng's avatar Te-Hung Tseng
Browse files

checking date

parent 5bb6a846
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,8 @@ verifier:
name: testinfra
lint:
name: flake8
options:
s: true
driver:
name: docker
platforms:
......
......@@ -21,7 +21,8 @@ def test_repolist(host):
def test_centosinstall(host):
host.run("rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial")
time = host.run("date")
print(time)
cmd = host.run("dnf install --disablerepo=rpm-ics,epel,epel-modular -y which")
assert cmd.rc == 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment