tests/acceptance/virtiofs_submounts: standardize port as integer
commitc0d1681e501180065927f40f4bfd0ed2a06d2ff1
authorCleber Rosa <crosa@redhat.com>
Wed, 3 Feb 2021 17:23:43 +0000 (3 12:23 -0500)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 8 Feb 2021 16:22:36 +0000 (8 17:22 +0100)
tree75f770098be0e9456b6c2855a2cceef28641d535
parent14a79778e17bb7e087101b00d6b1839dc7858f1e
tests/acceptance/virtiofs_submounts: standardize port as integer

Instead of having to cast it whenever it's going to be used, let's
standardize it as an integer, which is the data type that will be
used most often.

Given that the regex will only match digits, it's safe that we'll
end up getting a integer, but, it could as well be a zero.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Beraldo Leal <bleal@redhat.com>
Message-Id: <20210203172357.1422425-9-crosa@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
tests/acceptance/virtiofs_submounts.py