]> git.marmaro.de Git - mmh/blobdiff - test/folder/test-create
1) With SETGID_MAIL enabled (only with dot locking), if the chgrp of
[mmh] / test / folder / test-create
index 2e9e62742d677346b721e648693023df253c6828..59e7c3f995b1ad211d7ba5ae03551a5bd47c4992 100755 (executable)
@@ -6,8 +6,8 @@
 ######################################################
 
 if test -z "${MH_OBJ_DIR}"; then
-    srcdir=`dirname $0`/../..
-    MH_OBJ_DIR=`cd $srcdir && pwd`; export MH_OBJ_DIR
+    srcdir=`dirname "$0"`/../..
+    MH_OBJ_DIR=`cd "$srcdir" && pwd`; export MH_OBJ_DIR
 fi
 
 . "$MH_OBJ_DIR/test/common.sh"
@@ -15,7 +15,9 @@ fi
 setup_test
 
 folder -create +testfolder > /dev/null
-if [ ! -d "$MH_TEST_DIR/Mail/testfolder" ]; then
+if [ -d "$MH_TEST_DIR/Mail/testfolder" ]; then
+    :
+else
     exit 1
 fi