From 7a366520dc4f3e6d2ed07fa78f1c6d439357ad07 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 08:50:54 +0200 Subject: Adding debian version 4.12.1-2~exp1. Signed-off-by: Daniel Baumann --- debian/tests/metadata | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'debian/tests/metadata') 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" \ -- cgit v1.2.3