Initial checkin of a testsuite
[mmh] / test / tests / folder / test-total
diff --git a/test/tests/folder/test-total b/test/tests/folder/test-total
new file mode 100644 (file)
index 0000000..6da3174
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+######################################################
+#
+# Test the -total switch
+#
+######################################################
+
+BINDIR=$MH_TEST_DIR/bin
+
+
+output=`folder -total +inbox`
+if test x"$output" != x'TOTAL = 10 messages in 1 folder.' ; then
+    exit 1
+fi