summaryrefslogtreecommitdiffstats
path: root/debian/tests/metadata
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 06:50:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 06:50:54 +0000
commit7a366520dc4f3e6d2ed07fa78f1c6d439357ad07 (patch)
tree6bab43bfba7ca0ef9fa43194652d7fd62dbf8ffe /debian/tests/metadata
parentAdding debian version 4.12.1-1. (diff)
downloadfence-agents-7a366520dc4f3e6d2ed07fa78f1c6d439357ad07.tar.xz
fence-agents-7a366520dc4f3e6d2ed07fa78f1c6d439357ad07.zip
Adding debian version 4.12.1-2~exp1.debian/4.12.1-2_exp1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/metadata')
-rwxr-xr-xdebian/tests/metadata8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/tests/metadata b/debian/tests/metadata
index 21c1ece..cf91d28 100755
--- a/debian/tests/metadata
+++ b/debian/tests/metadata
@@ -13,8 +13,12 @@ for agent in /usr/sbin/fence_*; do
TESTXML=tests/data/metadata/${agent##*/}.xml
if [ -f "$TESTXML" ]; then
- gawk 'BEGIN {store=-1} /name=".*_path"/ || /name=".*_file"/ {store=2} {if (store!=0) {print}; store--}' "$TMPXML" \
- | diff -u "$TESTXML" -
+ if [ "$agent" = "/usr/sbin/fence_virt" ]; then
+ diff -u "$TESTXML" "$TMPXML"
+ else
+ gawk 'BEGIN {store=-1} /name=".*_path"/ || /name=".*_file"/ {store=2} {if (store!=0) {print}; store--}' "$TMPXML" \
+ | diff -u "$TESTXML" -
+ fi
fi
xsltproc lib/fence2rng.xsl "$TMPXML" \