Rework in the test framework; updated and new tests
[mmh] / test / tests / folder / test-total
index 72d559e..7eb9c7b 100644 (file)
@@ -5,7 +5,7 @@
 #
 ######################################################
 
 #
 ######################################################
 
-output=`folder -total +inbox`
-if test x"$output" != x'TOTAL = 10 messages in 1 folder' ; then
-    exit 1
-fi
+. "$MH_TEST_COMMON"
+runandcheck "folder -total +inbox" <<!
+TOTAL = 10 messages in 1 folder
+!