summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Terceiro <terceiro@softwarelivre.org>2014-05-18 22:14:25 -0300
committerAntonio Terceiro <terceiro@softwarelivre.org>2014-05-18 22:15:35 -0300
commit706a52ea12976ab2b7892e21a97fff99fb6731b3 (patch)
tree889723c709937a4bf2204a54a82a774a639d44a2
parent471837eb27f37a736020f39f64e69a85305ae71d (diff)
downloadfeed2imap-706a52ea12976ab2b7892e21a97fff99fb6731b3.tar.gz
feed2imap-706a52ea12976ab2b7892e21a97fff99fb6731b3.tar.bz2
feed2imap-706a52ea12976ab2b7892e21a97fff99fb6731b3.zip
feed2imap-test: reuse cache dir/protect config
this reduces the noise in the output and helps testing feed updates
Diffstat (limited to '')
-rwxr-xr-xfeed2imap-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/feed2imap-test b/feed2imap-test
index 3216d88..b5e7390 100755
--- a/feed2imap-test
+++ b/feed2imap-test
@@ -6,7 +6,6 @@ require 'yaml'
base = File.expand_path(File.dirname(__FILE__))
tmp = File.join(base, 'tmp')
-FileUtils.rm_rf(tmp)
FileUtils.mkdir_p(tmp)
# target maildir
@@ -46,6 +45,7 @@ config = File.join(tmp, 'feed2imap.yaml')
File.open(config, 'w') do |f|
f.write(config_data)
end
+FileUtils.chmod 0600, config
unless system('ruby', "-I#{base}/lib", "#{base}/bin/feed2imap", '--config', config, '--verbose')
puts("E: feed2imap failed")
mmit/src/password-store.sh?h=1.7.3&id=477d770f235676b0e5337c1fb3b7616ee01a979e&follow=1'>version: bump1.6.1Jason A. Donenfeld1-1/+1 2014-04-24Makefile: osx/bsd does not support -DJason A. Donenfeld2-25/+25 2014-04-24show: error out if password store is empty.Jason A. Donenfeld1-1/+4 2014-04-24find: proper segmenting of terms1.6Jason A. Donenfeld1-3/+3 2014-04-24dmenu: hide outputJason A. Donenfeld1-1/+1 2014-04-24tests: test for spacesJason A. Donenfeld3-8/+20 2014-04-24Move test instructions to INSTALL.Jason A. Donenfeld2-11/+18 2014-04-24tests: we don't use aggregate-resultsJason A. Donenfeld1-57/+0 2014-04-24Don't prompt for questions when stdin is not a tty.Jason A. Donenfeld3-7/+6 2014-04-24Allow overridable bash.Jason A. Donenfeld16-16/+16 2014-04-24dmenu: check for empty instead of ret codeJason A. Donenfeld1-1/+1 2014-04-24tests: sed doesn't like escaped chars on non-gnuJason A. Donenfeld1-1/+1 2014-04-24tests: run from anywhereJason A. Donenfeld13-4/+16 2014-04-24Turns out aliases were a bad idea.Jason A. Donenfeld14-95/+92 2014-04-24Make gpg_opts an array.Jason A. Donenfeld1-12/+12 2014-04-24Shellcheck errors.Jason A. Donenfeld1-6/+6 2014-04-24tests: todo updateJason A. Donenfeld1-25/+0