echo test@mlmmjtest > ml/control/listaddress
echo owner@mlmmjtest > ml/control/owner
touch ml/control/notifysub
- socat TCP-LISTEN:25678,bind=127.0.0.1,reuseport OPEN:output.log,creat,append &
- atf_check -s exit:0 $mlmmjsub -L ml -a john@doe.org
+ atf_check -s exit:0 $mlmmjsub -L ml -q -a john@doe.org
atf_check -o inline:"john@doe.org\n" cat ml/subscribers.d/j
- atf_check -o inline:"MAIL FROM:<test+bounces-help@mlmmjtest>\r\nRSET\r\n" cat output.log
}
add_digest_body()
echo "rebecca@doe.org" >> ml/subscribers.d/j
atf_check -s exit:0 $mlmmjsub -L ml -a john@doe.org
atf_check -o inline:"bob@doe.org\nrebecca@doe.org\n" cat ml/subscribers.d/j
- atf_check -s exit:0 $mlmmjsub -L ml -a jane@doe.org
+ atf_check -s exit:0 $mlmmjsub -L ml -a -q -s jane@doe.org
atf_check -o inline:"bob@doe.org\nrebecca@doe.org\n" cat ml/subscribers.d/j
}
echo "bob@doe.org" >> ml/subscribers.d/j
echo "rebecca@doe.org" >> ml/subscribers.d/j
touch ml/control/notifysub
- socat TCP-LISTEN:25678,bind=127.0.0.1,reuseport OPEN:output.log,creat,append &
- atf_check -s exit:0 $mlmmjsub -L ml -a john@doe.org
+ atf_check -s exit:0 $mlmmjsub -L ml -q -a john@doe.org
atf_check -o inline:"bob@doe.org\nrebecca@doe.org\n" cat ml/subscribers.d/j
- atf_check -o inline:"MAIL FROM:<test+bounces-help@mlmmjtest>\r\nRSET\r\n" cat output.log
}
remove_digest_body()