clear msgflags in folder_delmsg
[mmh] / test / tests / refile / test-sequences
diff --git a/test/tests/refile/test-sequences b/test/tests/refile/test-sequences
new file mode 100755 (executable)
index 0000000..329fe60
--- /dev/null
@@ -0,0 +1,36 @@
+#!/bin/sh
+######################################################
+#
+# Test refile
+#
+######################################################
+
+. "$MH_TEST_COMMON"
+
+
+runandcheck "scan +inbox" <<!
+   1  2006-09-29 00:00  Test1              Testing message 1
+   2  2006-09-29 00:00  Test2              Testing message 2
+   3  2006-09-29 00:00  Test3              Testing message 3
+   4  2006-09-29 00:00  Test4              Testing message 4
+   5  2006-09-29 00:00  Test5              Testing message 5
+   6  2006-09-29 00:00  Test6              Testing message 6
+   7  2006-09-29 00:00  Test7              Testing message 7
+   8  2006-09-29 00:00  Test8              Testing message 8
+   9  2006-09-29 00:00  Test9              Testing message 9
+  10  2006-09-29 00:00  Test10             Testing message 10
+!
+
+
+# refile one msg from cur folder into one other folder
+runandcheck "mark -add -zero -sequence u 10" <<!
+!
+runandcheck 'mark -list' <<!
+c: 
+u: 10
+!
+runandcheck "refile 10 +fol1" <<!
+!
+runandcheck 'mark -list' <<!
+c: 
+!