X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT590-libconfig.sh;h=189381f7f9b974747685ae13a7a1bb74ab42226c;hb=8c29a5da096b0314c6cca8889b740b79a9a548ed;hp=bc7298f842f5e1bce7f07d7a7e56bfd4c6a768c8;hpb=8dbd5deb8d3bbfda9554163c8d4cb2474c505c87;p=notmuch diff --git a/test/T590-libconfig.sh b/test/T590-libconfig.sh index bc7298f8..189381f7 100755 --- a/test/T590-libconfig.sh +++ b/test/T590-libconfig.sh @@ -713,23 +713,23 @@ cat c_head2 - c_tail <<'EOF' | test_C ${MAIL_DIR} %NULL% %NULL% key < NOTMUCH_CONFIG_LAST; key = (notmuch_config_key_t)(key + 1)) { const char *val = notmuch_config_get (db, key); - printf("%x: '%s'\n", key, val ? val : "NULL" ); + printf("%02d: '%s'\n", key, val ? val : "NULL" ); } } EOF cat <<'EOF' >EXPECTED == stdout == -0: 'MAIL_DIR' -1: 'MAIL_DIR' -2: 'MAIL_DIR/.notmuch/hooks' -3: 'MAIL_DIR/.notmuch/backups' -4: 'foo;bar;fub' -5: 'unread;inbox' -6: 'sekrit_junk' -7: 'true' -8: 'test_suite@notmuchmail.org' -9: 'test_suite_other@notmuchmail.org;test_suite@otherdomain.org' -a: 'Notmuch Test Suite' +00: 'MAIL_DIR' +01: 'MAIL_DIR' +02: 'MAIL_DIR/.notmuch/hooks' +03: 'MAIL_DIR/.notmuch/backups' +04: 'foo;bar;fub' +05: 'unread;inbox' +06: 'sekrit_junk' +07: 'true' +08: 'test_suite@notmuchmail.org' +09: 'test_suite_other@notmuchmail.org;test_suite@otherdomain.org' +10: 'Notmuch Test Suite' == stderr == EOF test_expect_equal_file EXPECTED OUTPUT