1#verbose on 2open test-queue-file.tmp 3 4# Add and remove some recipient records. We verify that all results 5# from virtual alias expansion are deleted. We don't yet attempt to 6# remove non-existent recipients. 7 8add_rcpt xxxx 9add_rcpt yyyy 10del_rcpt alias@hades.porcupine.org 11del_rcpt yyyy 12 13# Insert a short header X2 at the position of a short multi-line 14# header X, so that the first part of the multi-line header X needs 15# to be copied to the heap, right after the inserted header. Then 16# update the inserted header X2, so that a smaller portion of the 17# saved multi-line header X needs to be copied again. Thus we end 18# up with a multi-line header X that is broken up into three pieces. 19# Finally, delete the inserted header X2. All this tests if an insert 20# operation properly saves a portion of a multi-line header, to make 21# space for the forward pointer to the inserted content. 22 23ins_header 2 X2 v1 24upd_header 1 X2 v2 25del_header 1 X2 26 27# Insert a header at the position of a single-line short header Y, 28# so that both header Y, and the single-line Message-ID header that 29# follows Y, need to be copied to the heap. This tests if an insert 30# operation properly saves records to make space for the forward 31# pointer record to the inserted content. 32 33ins_header 3 X2 test header value 3 34 35# Update the multiply broken, multi-line, header X. This tests if 36# we correcly link the new header to the header that comes after the 37# modified header. 38 39upd_header 1 X X-replaced-header replacement header text 40#upd_header 1 X X-replaced-header replacement header text 41#upd_header 1 X X-replaced-header replacement header text 42close 43