generic/426: factor out helper functions
authorAmir Goldstein <amir73il@gmail.com>
Thu, 2 Nov 2017 10:15:38 +0000 (12:15 +0200)
committerEryu Guan <eguan@redhat.com>
Fri, 10 Nov 2017 04:33:37 +0000 (12:33 +0800)
commitd732a15548eff4f97bea6f732da5483f24b0a9ee
tree26955529fdcea832ceed7726dd4ddd38295c4587
parent48a67c3543046b024dd43f0f1556276ab03f04ce
generic/426: factor out helper functions

Helper test_file_handles() outputs the sub-test command to output,
so if errors are detected in one of the sub-tests, it is easier
to know which sub-tests have failed.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/426
tests/generic/426.out