add_normal_owner \
add_nomail \
add_digest \
+ add_normal_then_nomail \
remove_normal \
remove_normal_owner \
remove_nomail \
atf_check -o inline:"john@doe.org\njane@doe.org\n" cat ml/subscribers.d/j
}
+add_normal_then_nomail_body()
+{
+ init_ml ml
+ mlmmjsub=$(command -v mlmmj-sub)
+ 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 -n -a john@doe.org
+ atf_check -o inline:"john@doe.org\n" cat ml/nomailsubs.d/j
+ if [ -f ml/subscribers.d/j ]; then
+ atf_fail "John Doe still subscribed"
+ fi
+}
+
add_normal_owner_body()
{
init_ml ml