mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
tests: fix podcheck tests
Pass to the various podcheck invocations the paths with POD files that
are included.
Followup of commit 46e59e9535.
This commit is contained in:
@@ -21,9 +21,14 @@ set -e
|
||||
$TEST_FUNCTIONS
|
||||
skip_if_skipped
|
||||
|
||||
$top_srcdir/podcheck.pl virt-cat.pod virt-cat
|
||||
$top_srcdir/podcheck.pl virt-filesystems.pod virt-filesystems
|
||||
$top_srcdir/podcheck.pl virt-log.pod virt-log
|
||||
$top_srcdir/podcheck.pl virt-cat.pod virt-cat \
|
||||
--path $top_srcdir/common/options
|
||||
$top_srcdir/podcheck.pl virt-filesystems.pod virt-filesystems \
|
||||
--path $top_srcdir/common/options
|
||||
$top_srcdir/podcheck.pl virt-log.pod virt-log \
|
||||
--path $top_srcdir/common/options
|
||||
$top_srcdir/podcheck.pl virt-ls.pod virt-ls \
|
||||
--path $top_srcdir/common/options \
|
||||
--ignore=--checksums,--extra-stat,--time,--uid
|
||||
$top_srcdir/podcheck.pl virt-tail.pod virt-tail
|
||||
$top_srcdir/podcheck.pl virt-tail.pod virt-tail \
|
||||
--path $top_srcdir/common/options
|
||||
|
||||
@@ -21,6 +21,7 @@ set -e
|
||||
$TEST_FUNCTIONS
|
||||
|
||||
$top_srcdir/podcheck.pl virt-customize.pod virt-customize \
|
||||
--path $top_srcdir/common/options \
|
||||
--insert $top_srcdir/common/mlcustomize/customize-synopsis.pod:__CUSTOMIZE_SYNOPSIS__ \
|
||||
--insert $top_srcdir/common/mlcustomize/customize-options.pod:__CUSTOMIZE_OPTIONS__ \
|
||||
--ignore=--dryrun
|
||||
|
||||
@@ -21,4 +21,5 @@ set -e
|
||||
$TEST_FUNCTIONS
|
||||
|
||||
$top_srcdir/podcheck.pl virt-diff.pod virt-diff \
|
||||
--path $top_srcdir/common/options \
|
||||
--ignore=--checksums,--dir-link,--dir-nlink,--dir-nlinks,--dir-time,--extra-stat,--time,--uid,--xattr
|
||||
|
||||
@@ -20,4 +20,5 @@ set -e
|
||||
|
||||
$TEST_FUNCTIONS
|
||||
|
||||
$top_srcdir/podcheck.pl virt-edit.pod virt-edit
|
||||
$top_srcdir/podcheck.pl virt-edit.pod virt-edit \
|
||||
--path $top_srcdir/common/options
|
||||
|
||||
@@ -22,7 +22,5 @@ $TEST_FUNCTIONS
|
||||
skip_if_skipped
|
||||
|
||||
$top_srcdir/podcheck.pl guestfish.pod guestfish \
|
||||
--insert $srcdir/guestfish-actions.pod:__ACTIONS__ \
|
||||
--insert $srcdir/guestfish-commands.pod:__FISH_COMMANDS__ \
|
||||
--insert $srcdir/guestfish-prepopts.pod:__PREPOPTS__ \
|
||||
--path $srcdir --path $top_srcdir/common/options \
|
||||
--ignore=-D
|
||||
|
||||
@@ -21,7 +21,8 @@ set -e
|
||||
$TEST_FUNCTIONS
|
||||
skip_if_skipped
|
||||
|
||||
$top_srcdir/podcheck.pl guestmount.pod guestmount
|
||||
$top_srcdir/podcheck.pl guestmount.pod guestmount \
|
||||
--path $top_srcdir/common/options
|
||||
|
||||
# guestunmount doesn't implement bash completion, so we cannot
|
||||
# test it at the moment. XXX
|
||||
|
||||
@@ -21,4 +21,5 @@ set -e
|
||||
$TEST_FUNCTIONS
|
||||
skip_if_skipped
|
||||
|
||||
$top_srcdir/podcheck.pl virt-get-kernel.pod virt-get-kernel
|
||||
$top_srcdir/podcheck.pl virt-get-kernel.pod virt-get-kernel \
|
||||
--path $top_srcdir/common/options
|
||||
|
||||
@@ -21,4 +21,5 @@ set -e
|
||||
$TEST_FUNCTIONS
|
||||
skip_if_skipped
|
||||
|
||||
$top_srcdir/podcheck.pl virt-inspector.pod virt-inspector
|
||||
$top_srcdir/podcheck.pl virt-inspector.pod virt-inspector \
|
||||
--path $top_srcdir/common/options
|
||||
|
||||
@@ -22,4 +22,5 @@ $TEST_FUNCTIONS
|
||||
skip_if_skipped
|
||||
|
||||
$top_srcdir/podcheck.pl virt-sparsify.pod virt-sparsify \
|
||||
--path $top_srcdir/common/options \
|
||||
--ignore=--inplace
|
||||
|
||||
@@ -22,6 +22,7 @@ $TEST_FUNCTIONS
|
||||
skip_if_skipped
|
||||
|
||||
$top_srcdir/podcheck.pl virt-sysprep.pod virt-sysprep \
|
||||
--path $top_srcdir/common/options \
|
||||
--insert sysprep-extra-options.pod:__EXTRA_OPTIONS__ \
|
||||
--insert sysprep-operations.pod:__OPERATIONS__ \
|
||||
--ignore=--dryrun,--dump-pod,--dump-pod-options,--no-selinux-relabel
|
||||
|
||||
Reference in New Issue
Block a user