]> diplodocus.org Git - nmh/blob - test/folder/test-total
inc.c: Make maildir_srt() static.
[nmh] / test / folder / test-total
1 #!/bin/sh
2 ######################################################
3 #
4 # Test the -total switch
5 #
6 ######################################################
7
8 if test -z "${MH_OBJ_DIR}"; then
9 srcdir=`dirname "$0"`/../..
10 MH_OBJ_DIR=`cd "$srcdir" && pwd`; export MH_OBJ_DIR
11 fi
12
13 . "$MH_OBJ_DIR/test/common.sh"
14
15 setup_test
16
17 output=`run_prog folder -total +inbox`
18 if test x"$output" != x'TOTAL = 10 messages in 1 folder.' ; then
19 exit 1
20 fi