From: David Levine Date: Sun, 12 Jan 2014 17:32:11 +0000 (-0600) Subject: Really fix mode of file that's used in test-attach-detach. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/2898c0505c510ea21ad66a05c90154df53b3e033?hp=f570fea8a0911b284017066471be12d2fe9bd3b6 Really fix mode of file that's used in test-attach-detach. --- diff --git a/test/common.sh.in b/test/common.sh.in index 5f308893..13db440a 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -287,8 +287,6 @@ EOF 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 diff --git a/test/whatnow/test-attach-detach b/test/whatnow/test-attach-detach index 15641f47..c06f96ef 100755 --- a/test/whatnow/test-attach-detach +++ b/test/whatnow/test-attach-detach @@ -165,6 +165,9 @@ What now? quit -delete EOF fi +# Don't depend on the mode of Mail/context: +chmod 0600 ${MH_TEST_DIR}/Mail/context + set +e printf '%s\n' \ 'at' \