3 # TODO: Move to a common file tests can source; need more framework...
6 diff -u $expected $actual
12 folders=$MH_TEST_DIR/Mail/.folders
14 expected=$MH_TEST_DIR/$$.expected
15 actual=$MH_TEST_DIR/$$.actual
18 cp -r $MH_TEST_DIR/Mail/inbox $MH_TEST_DIR/Mail/foo1
19 cp -r $MH_TEST_DIR/Mail/inbox $MH_TEST_DIR/Mail/foo2
20 # but only list inbox and foo2 in .folders, and sorted differently
26 # Add a sequence, which has no messages in it
27 echo empty: >>"$MH_TEST_DIR/Mail/foo2/.mh_sequences"
29 # test with the empty sequence
33 new empty > $actual 2>&1
35 new -folders $folders empty > $actual 2>&1
38 # test fnext/fprev with the empty sequence
40 fnext empty > $actual 2>&1
42 fprev empty > $actual 2>&1