]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
mlmmj-sub: add testcase about appending a new subscriber
authorBaptiste Daroussin <bapt@FreeBSD.org>
Thu, 28 Oct 2021 09:25:46 +0000 (11:25 +0200)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Thu, 28 Oct 2021 09:25:46 +0000 (11:25 +0200)
tests/mlmmj-sub.sh

index 0be37c2e78ed9ff53658a4da09467ee5f33ac53e..d453394720f9e6315be785146a7178febb34ebfa 100644 (file)
@@ -16,6 +16,8 @@ add_normal_body()
        echo test@mlmmjtest > ml/control/listaddress
        atf_check -s exit:0 $mlmmjsub -L ml -a john@doe.org
        atf_check -o inline:"john@doe.org\n" cat ml/subscribers.d/j
+       atf_check -s exit:0 $mlmmjsub -L ml -a jane@doe.org
+       atf_check -o inline:"john@doe.org\njane@doe.org\n" cat ml/subscribers.d/j
 }
 
 add_normal_owner_body()