The presense of the blank lines between sections depends on the
version of glib. Strip them before comparison.
EOF
expected_dir=$NOTMUCH_SRCDIR/test/setup.expected-output
EOF
expected_dir=$NOTMUCH_SRCDIR/test/setup.expected-output
-test_expect_equal_file ${expected_dir}/config-with-comments new-notmuch-config
+sed '/^$/d' < new-notmuch-config > filtered-config
+test_expect_equal_file ${expected_dir}/config-with-comments filtered-config
test_begin_subtest "setup consistent with config-set for single items"
# note this relies on the config state from the previous test.
test_begin_subtest "setup consistent with config-set for single items"
# note this relies on the config state from the previous test.
# .notmuch-config - Configuration file for the notmuch mail system
#
# For more information about notmuch, see https://notmuchmail.org
# .notmuch-config - Configuration file for the notmuch mail system
#
# For more information about notmuch, see https://notmuchmail.org
# Database configuration
#
# The only value supported here is 'path' which should be the top-level
# Database configuration
#
# The only value supported here is 'path' which should be the top-level
#
[database]
path=/path/to/maildir
#
[database]
path=/path/to/maildir
# User configuration
#
# Here is where you can let notmuch know how you would like to be
# User configuration
#
# Here is where you can let notmuch know how you would like to be
name=Test Suite
primary_email=test.suite@example.com
other_email=another.suite@example.com
name=Test Suite
primary_email=test.suite@example.com
other_email=another.suite@example.com
# Configuration for "notmuch new"
#
# The following options are supported here:
# Configuration for "notmuch new"
#
# The following options are supported here:
# Search configuration
#
# The following option is supported here:
# Search configuration
#
# The following option is supported here:
#
[search]
exclude_tags=baz
#
[search]
exclude_tags=baz
# Maildir compatibility configuration
#
# The following option is supported here:
# Maildir compatibility configuration
#
# The following option is supported here: