]> diplodocus.org Git - nmh/blob - test/folder/test-total
Changed "make test" to "make check".
[nmh] / test / folder / test-total
1 #!/bin/sh
2 ######################################################
3 #
4 # Test the -total switch
5 #
6 ######################################################
7
8 if [ -z "${MH_TEST_COMMON}" ]; then
9 echo "MH_TEST_COMMON not set; try running via 'make check'"
10 fi
11
12 . ${MH_TEST_COMMON}
13
14 setup_test
15
16 output=`folder -total +inbox`
17 if test x"$output" != x'TOTAL = 10 messages in 1 folder.' ; then
18 exit 1
19 fi