From bcd76416733e01378b02fcabf37e09ba0c33313a Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Aug 14 2019 09:34:39 +0000 Subject: Sync nodsa expectations in dbus tests Fixes: https://pagure.io/certmonger/issue/122 Signed-off-by: Stanislav Levin --- diff --git a/tests/028-dbus/expected.out.nodsa b/tests/028-dbus/expected.out.nodsa index a23af40..75d9371 100644 --- a/tests/028-dbus/expected.out.nodsa +++ b/tests/028-dbus/expected.out.nodsa @@ -330,6 +330,7 @@ OK + @@ -541,6 +542,9 @@ After setting template-eku to 1.2.3.4.5.6.7.8.9.10, we got dbus.Array([dbus.Stri + + + @@ -585,6 +589,8 @@ After setting template-eku to 1.2.3.4.5.6.7.8.9.10, we got dbus.Array([dbus.Stri + + @@ -593,6 +599,9 @@ After setting template-eku to 1.2.3.4.5.6.7.8.9.10, we got dbus.Array([dbus.Stri +[ /org/fedorahosted/certmonger/cas/CA1: org.fedorahosted.certmonger.ca.get_config_file_path ] +$tmpdir/cas/local + [ /org/fedorahosted/certmonger/cas/CA1: org.fedorahosted.certmonger.ca.get_nickname ] local @@ -646,6 +655,9 @@ dbus.Array([], signature=dbus.Signature('s')) + + + @@ -690,6 +702,8 @@ dbus.Array([], signature=dbus.Signature('s')) + + @@ -698,6 +712,9 @@ dbus.Array([], signature=dbus.Signature('s')) +[ /org/fedorahosted/certmonger/cas/CA2: org.fedorahosted.certmonger.ca.get_config_file_path ] +$tmpdir/cas/20180327134236 + [ /org/fedorahosted/certmonger/cas/CA2: org.fedorahosted.certmonger.ca.get_nickname ] SelfSign @@ -720,7 +737,7 @@ dbus.Array([], signature=dbus.Signature('s')) [ /org/fedorahosted/certmonger/cas/CA2: org.fedorahosted.certmonger.ca.refresh ] 1 -/org/fedorahosted/certmonger/cas/CA2: warning: property org.fedorahosted.certmonger.ca.scep-ca-identifier not settable on this object +/org/fedorahosted/certmonger/cas/CA2: property org.fedorahosted.certmonger.ca.scep-cipher not set: (, x) [ /org/fedorahosted/certmonger/cas/CA3: org.freedesktop.DBus.Introspectable.Introspect ] @@ -753,6 +770,9 @@ dbus.Array([], signature=dbus.Signature('s')) + + + @@ -797,6 +817,8 @@ dbus.Array([], signature=dbus.Signature('s')) + + @@ -805,6 +827,9 @@ dbus.Array([], signature=dbus.Signature('s')) +[ /org/fedorahosted/certmonger/cas/CA3: org.fedorahosted.certmonger.ca.get_config_file_path ] +$tmpdir/cas/20180327134236-1 + [ /org/fedorahosted/certmonger/cas/CA3: org.fedorahosted.certmonger.ca.get_nickname ] IPA @@ -858,6 +883,9 @@ dbus.Array([], signature=dbus.Signature('s')) + + + @@ -902,6 +930,8 @@ dbus.Array([], signature=dbus.Signature('s')) + + @@ -910,6 +940,9 @@ dbus.Array([], signature=dbus.Signature('s')) +[ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_config_file_path ] +$tmpdir/cas/20180327134236-2 + [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_nickname ] certmaster @@ -963,6 +996,9 @@ dbus.Array([], signature=dbus.Signature('s')) + + + @@ -1007,6 +1043,8 @@ dbus.Array([], signature=dbus.Signature('s')) + + @@ -1015,6 +1053,9 @@ dbus.Array([], signature=dbus.Signature('s')) +[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_config_file_path ] +$tmpdir/cas/20180327134236-3 + [ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_nickname ] dogtag-ipa-renew-agent diff --git a/tests/run-tests.sh b/tests/run-tests.sh index 580a965..f1c1f78 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -90,7 +90,9 @@ for testid in "$@" $subdirs ; do done if test $stat -eq 1 ; then echo "FAIL" - diff -u expected.out "$tmpfile" | sed s,"^\+\+\+ $tmpfile","+++ actual",g + for i in expected.out* ; do + diff -u "$tmpfile" "$i" -I "tmpdir/cas/[[:digit:]]\+" | sed s,"^\+\+\+ $tmpfile","+++ actual",g + done cp $tmpfile "$builddir"/"$testid"/actual.out cp "$tmpdir"/errors "$builddir"/"$testid"/actual.err fi