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