#!/bin/sh ###################################################### # # Test the -total switch # ###################################################### output=`folder -total +inbox` if test x"$output" != x'TOTAL = 10 messages in 1 folder.' ; then exit 1 fi