]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
testutils: virTestRewrapFile: Rewrap also '.argv' files
authorPeter Krempa <pkrempa@redhat.com>
Mon, 8 Feb 2021 09:12:00 +0000 (10:12 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 16 Feb 2021 11:25:30 +0000 (12:25 +0100)
The suffix is used for output files of 'storagevolxml2argvtest.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
tests/testutils.c

index 7ecf7923b89a8c976a249b5fbdb12eb61909e0a3..8734790457757c9fcb86658109888b8d46d6bb6c 100644 (file)
@@ -332,6 +332,7 @@ virTestRewrapFile(const char *filename)
     g_autoptr(virCommand) cmd = NULL;
 
     if (!(virStringHasSuffix(filename, ".args") ||
+          virStringHasSuffix(filename, ".argv") ||
           virStringHasSuffix(filename, ".ldargs")))
         return 0;