mhl and mhbuild ignore to long lines
[mmh] / test / tests / pick / test-thread
1 #!/bin/sh
2 ######################################################
3 #
4 # Test that the -thread option works.
5 #
6 ######################################################
7
8 . "$MH_TEST_COMMON"
9
10 # All messages should be go to stdout
11 anno -component 'Message-Id' -text '<testid>' 5 -nodate
12 anno -component 'Message-Id' -text '<testid2>' 6 -nodate
13
14 runandcheck 'pick -thread 5' <<!
15 5
16 !
17
18 anno -component 'References' -text '<testid>' 6 -nodate -append
19 runandcheck 'pick -thread 5' <<!
20 5
21 6
22 !
23 runandcheck 'pick -thread 6' <<!
24 5
25 6
26 !
27 anno -delete -component 'References'
28 anno -component 'References' -text '<testid>' 6 -nodate
29 runandcheck 'pick -thread 6' <<!
30 5
31 6
32 !