From: Vsevolod Stakhov Date: Sun, 23 Sep 2018 17:34:04 +0000 (+0100) Subject: [Minor] Fix test cases X-Git-Tag: 1.8.0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=549b34b1970ab04911bab8e38670fc0ec982af9a;p=thirdparty%2Frspamd.git [Minor] Fix test cases --- diff --git a/test/functional/cases/131_dkim_signing/001_simple.robot b/test/functional/cases/131_dkim_signing/001_simple.robot index d5bd568412..96bdcc997a 100644 --- a/test/functional/cases/131_dkim_signing/001_simple.robot +++ b/test/functional/cases/131_dkim_signing/001_simple.robot @@ -17,17 +17,17 @@ ${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat TEST SIGNED ${result} = Scan Message With Rspamc ${MESSAGE} -u bob@cacophony.za.org Check Rspamc ${result} DKIM-Signature: - Should Contain ${result.stdout} DKIM_SIGNED (1.00) + Should Contain ${result.stdout} DKIM_SIGNED TEST NOT SIGNED - USERNAME WRONG DOMAIN ${result} = Scan Message With Rspamc ${MESSAGE} -u bob@example.tk Check Rspamc ${result} DKIM-Signature: inverse=1 - Should Not Contain ${result.stdout} DKIM_SIGNED (1.00) + Should Not Contain ${result.stdout} DKIM_SIGNED TEST NOT SIGNED - USERNAME WRONG PUBKEY ${result} = Scan Message With Rspamc ${MESSAGE_FAIL} -u bob@invalid.za.org Check Rspamc ${result} DKIM-Signature: inverse=1 - Should Not Contain ${result.stdout} DKIM_SIGNED (1.00) + Should Not Contain ${result.stdout} DKIM_SIGNED *** Keywords *** DKIM Signing Setup diff --git a/test/functional/cases/131_dkim_signing/002_redis.robot b/test/functional/cases/131_dkim_signing/002_redis.robot index 891e713851..e87749a0a3 100644 --- a/test/functional/cases/131_dkim_signing/002_redis.robot +++ b/test/functional/cases/131_dkim_signing/002_redis.robot @@ -16,12 +16,12 @@ ${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat TEST SIGNED ${result} = Scan Message With Rspamc ${MESSAGE} -u bob@cacophony.za.org Check Rspamc ${result} DKIM-Signature: - Should Contain ${result.stdout} DKIM_SIGNED (1.00) + Should Contain ${result.stdout} DKIM_SIGNED TEST NOT SIGNED - USERNAME WRONG DOMAIN ${result} = Scan Message With Rspamc ${MESSAGE} -u bob@example.tk Check Rspamc ${result} DKIM-Signature: inverse=1 - Should Not Contain ${result.stdout} DKIM_SIGNED (1.00) + Should Not Contain ${result.stdout} DKIM_SIGNED *** Keywords *** DKIM Signing Setup