From 9641fe1ce70d804ab4a9f63671e3905944dba7e5 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sun, 5 May 2013 22:18:20 +0300 Subject: cli: config: fix config file save when the file does not exist The use of realpath(3) in commit 58ed67992d0ec1fa505026105218fa449f7980b0 Author: Jani Nikula Date: Sun Apr 7 20:15:03 2013 +0300 cli: config: do not overwrite symlinks when saving config file broke config file save when the file does not exist, which results in 'notmuch setup' always failing to create a new config file. Fix by checking ENOENT from realpath(3). --- test/setup | 1 - 1 file changed, 1 deletion(-) (limited to 'test') diff --git a/test/setup b/test/setup index 8cc55767..124ef1c8 100755 --- a/test/setup +++ b/test/setup @@ -4,7 +4,6 @@ test_description='"notmuch setup"' . ./test-lib.sh test_begin_subtest "Create a new config interactively" -test_subtest_known_broken notmuch --config=new-notmuch-config > /dev/null <