5b74b2376a66c063ea31851d191fcbbf694eedc4
[mmh] / test / tests / folder / test-create
1 #!/bin/sh
2 ######################################################
3 #
4 # Test the creation and removal of a folder.
5 #
6 ######################################################
7
8 folder -create +testfolder > /dev/null
9 if [ ! -d "$MH_TEST_DIR/Mail/testfolder" ]; then
10     exit 1
11 fi
12
13 rmf +testfolder > /dev/null
14 if [ -d "$MH_TEST_DIR/Mail/testfolder" ]; then
15     # Test failed
16     exit 1
17 fi