]> diplodocus.org Git - nmh/commitdiff
Really fix mode of file that's used in test-attach-detach.
authorDavid Levine <levinedl@acm.org>
Sun, 12 Jan 2014 17:32:11 +0000 (11:32 -0600)
committerDavid Levine <levinedl@acm.org>
Sun, 12 Jan 2014 17:32:11 +0000 (11:32 -0600)
test/common.sh.in
test/whatnow/test-attach-detach

index 5f30889316e38fb173c012503790f42ab2bbda4d..13db440a004a14f95c01cfa19c4c56ad2b4c89e4 100644 (file)
@@ -287,8 +287,6 @@ EOF
   done
 
   folder -create +inbox > /dev/null
   done
 
   folder -create +inbox > /dev/null
-  # test/whatnow/test-attach-detach depends on the mode of context:
-  chmod 0600 ${MH_TEST_DIR}/Mail/context
   # create 10 basic messages
   for i in 1 2 3 4 5 6 7 8 9 10;
   do
   # create 10 basic messages
   for i in 1 2 3 4 5 6 7 8 9 10;
   do
index 15641f47030cfaff7d9e44b499c7f875a9812040..c06f96efff6fd6ba26d886114141d9b22e3661b7 100755 (executable)
@@ -165,6 +165,9 @@ What now? quit -delete
 EOF
 fi
 
 EOF
 fi
 
+# Don't depend on the mode of Mail/context:
+chmod 0600 ${MH_TEST_DIR}/Mail/context
+
 set +e
 printf '%s\n' \
 'at' \
 set +e
 printf '%s\n' \
 'at' \