qemu-iotests: Fix FilePaths docstring
commitf765af87c203723f77da37716a74f0eca99f192c
authorNir Soffer <nirsof@gmail.com>
Fri, 28 Aug 2020 23:21:49 +0000 (29 02:21 +0300)
committerMax Reitz <mreitz@redhat.com>
Tue, 15 Sep 2020 09:05:12 +0000 (15 11:05 +0200)
tree13c21a1c1942535266a6baed2201441ba0765ece
parenta7971702f473d0461b527bfda476d164d3f2feff
qemu-iotests: Fix FilePaths docstring

When this class was extracted from FilePath, the docstring was not
updated for generating multiple files, and the example usage was
referencing unrelated file.

While fixing the docstring, add example for creating sockets, which
should use iotests.sock_dir instead of the default base_dir.

Fixes: de263986b5dc
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Message-Id: <20200828232152.205833-3-nsoffer@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/iotests.py