]> diplodocus.org Git - nmh/blob - test/tests/folder/test-create
Garbage collect all of the old UCI #ifdef'd code.
[nmh] / 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