Systemd/src/test
Zbigniew Jędrzejewski-Szmek d7671a3efd resolved: add alignment to base64
We try to fit the lengthy key data into available space. If the other
fields take less than half of the available columns, we use align everything
in the remaining columns. Otherwise, we put everything after a newline,
indented with 8 spaces.

This is similar to dig and other tools do.

$ COLUMNS=78 ./systemd-resolve -t any .
. IN SOA   a.root-servers.net nstld.verisign-grs.com 2016012701 1800 900 604800 86400
. IN RRSIG SOA RSASHA256 0 86400 20160206170000 20160127160000 54549
        S1uhUoBAReAFi5wH/KczVDgwLb+B9Zp57dSYj9aX4XxBhKuzccIducpg0wWXhjCRAWuzY
        fQ/J2anm4+C4BLUTdlytPIemd42SUffQk2WGuuukI8e67nkrNF3WFtoeXQ4OchsyO24t2
        rxi682Zo9ViqmXZ+MSsjWKt1jdem4noaY=
. IN NS    h.root-servers.net
. IN NS    k.root-servers.net
. IN NS    e.root-servers.net
. IN NS    c.root-servers.net
. IN NS    b.root-servers.net
. IN NS    g.root-servers.net
. IN NS    d.root-servers.net
. IN NS    f.root-servers.net
. IN NS    i.root-servers.net
. IN NS    j.root-servers.net
. IN NS    m.root-servers.net
. IN NS    a.root-servers.net
. IN NS    l.root-servers.net
. IN RRSIG NS RSASHA256 0 518400 20160206170000 20160127160000 54549
        rxhmTVKUgs72G3VzL+1JRuD0nGLIrPM+ISfmUx0eYUH5wZD5XMu2X+8PfkAsEQT1dziPs
        ac+zK1YZPbNgr3yGI5H/wEbK8S7DmlvO+/I9WKTLp/Zxn3yncvnTOdjFMZxkAqHbjVOm+
        BFz7RjQuvCQlEJX4PQBFphgEnkiOnmMdI=
. IN NSEC  aaa ( NS SOA RRSIG NSEC DNSKEY )
. IN RRSIG NSEC RSASHA256 0 86400 20160206170000 20160127160000 54549
        HY49/nGkUJJP1zLmH33MIKnkNH33jQ7bsAHE9itEjvC4wfAzgq8+Oh9fjYav1R1GDeJ2Z
        HOu3Z2uDRif10R8RsmZbxyZXJs7eHui9KcAMot1U4uKCCooC/5GImf+oUDbvaraUCMQRU
        D3mUzoa0BGWfxgZEDqZ55raVFT/olEgG8=
. IN DNSKEY 257 3 RSASHA256 AwEAAagAIKlVZrpC6Ia7gEzahOR+9W29euxhJhVVLOyQbSEW0
                            O8gcCjFFVQUTf6v58fLjwBd0YI0EzrAcQqBGCzh/RStIoO8g0
                            NfnfL2MTJRkxoXbfDaUeVPQuYEhg37NZWAJQ9VnMVDxP/VHL4
                            96M/QZxkjf5/Efucp2gaDX6RS6CXpoY68LsvPVjR0ZSwzz1ap
                            AzvN9dlzEheX7ICJBBtuA6G3LQpzW5hOA2hzCTMjJPJ8LbqF6
                            dsV6DoBQzgul0sGIcGOYl7OyQdXfZ57relSQageu+ipAdTTJ2
                            5AsRTAoub8ONGcLmqrAmRLKBP1dfwhYB4N7knNnulqQxA+Uk1
                            ihz0=
. IN DNSKEY 256 3 RSASHA256 AwEAAbr/RV0stAWYbmKOldjShp4AOQGOyY3ATI1NUpP4X1qBs
                            6lsXpc+1ABgv6zkg02IktjZrHnmD0HsElu3wqXMrT5KL1W7Sp
                            mg0Pou9WZ8QttdTKXwrVXrASsaGI2z/pLBSnK8EdzqUrTVxY4
                            TEGZtxV519isM06CCMihxTn5cfFBF
. IN RRSIG DNSKEY RSASHA256 0 172800 20160204235959 20160121000000 19036
        XYewrVdYKRDfZptAATwT+W4zng04riExV36+z04kok09W0RmOtDlQrlrwHLlD2iN/zYpg
        EqGgDF5T2xlrQdNpn+PFHhypHM7NQAgLTrwmiw6mGbV0bsZN3rhFxHwW7QVUFAvo9eNVu
        INrjm+sArwxq3DnPkmA+3K4ikKD2iiT/jT91VYr9SHFqXXURccLjI+nmaE7m31hXcirX/
        r5i3J+B4Fx4415IavSD72r7cmruocnCVjcp+ZAUKeMyW+RwigzevLz3oEcCZ4nrTpGLEj
        wFaVePYoP+rfdmfLfTdmkkm4APRJa2My3XOdGFlgNS1pW1pH4az5LapLE2vMO7p1aQ==

-- Information acquired via protocol DNS in 14.4ms.
-- Data is authenticated: no
2016-01-28 18:35:01 -05:00
..
.gitignore test: generate tests for OrderedHashmap from Hashmap tests 2014-10-23 17:38:02 +02:00
Makefile test: test tools should still be in the src/ directory 2012-04-12 13:48:01 +02:00
test-acl-util.c test-acl-util: fix two issues from review 2015-11-30 15:48:21 -05:00
test-af-list.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
test-architecture.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-arphrd-list.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
test-ask-password-api.c test-ask-password-api: add a manual test for password reading 2016-01-26 17:07:14 -05:00
test-async.c util-lib: move more file I/O related calls into fileio.[ch] 2015-10-27 13:25:55 +01:00
test-barrier.c test: disable test-barrier by default 2015-06-18 10:25:08 +02:00
test-bitmap.c bitmap: make bitmap_clear free the bitmap array 2015-07-31 19:08:26 +02:00
test-boot-timestamps.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-btrfs.c util-lib: split string parsing related calls from util.[ch] into parse-util.[ch] 2015-10-27 13:25:55 +01:00
test-calendarspec.c test: calendarspec sub-second tests 2015-11-17 23:52:09 +02:00
test-cap-list.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-capability.c tests: test ambient capabilities. 2016-01-12 12:14:50 +02:00
test-cgroup-mask.c test-cgroup-mask: check return value 2016-01-20 18:55:56 -05:00
test-cgroup-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-cgroup.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
test-condition.c selinux: split up mac_selinux_have() from mac_selinux_use() 2015-11-27 20:28:13 +01:00
test-conf-files.c util-lib: use MODE_INVALID as invalid value for mode_t everywhere 2015-11-11 22:54:56 +01:00
test-conf-parser.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
test-copy.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-daemon.c core: add support for naming file descriptors passed using socket activation 2015-10-06 11:52:48 +02:00
test-date.c test-date: check return value 2016-01-20 18:55:56 -05:00
test-device-nodes.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-dns-domain.c shared: normalize the root domain to "." rather than "" 2016-01-26 14:42:04 +01:00
test-ellipsize.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-engine.c tests: fix newlines in skip message 2015-12-02 09:50:01 -05:00
test-env-replace.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
test-execute.c tests: test ambient capabilities. 2016-01-12 12:14:50 +02:00
test-extract-word.c core: fix dependency parsing 2015-11-11 22:53:05 +01:00
test-fdset.c util-lib: move more file I/O related calls into fileio.[ch] 2015-10-27 13:25:55 +01:00
test-fileio.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-firewall-util.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-fstab-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-hashmap-plain.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-hashmap.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-helper.h tests: turn check if manager cannot be intialized into macro 2015-12-02 09:50:00 -05:00
test-hostname-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-hostname.c btrfs: support recursively removing btrfs snapshots 2015-04-06 11:28:16 +02:00
test-id128.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-install-root.c install: follow unit file symlinks in /usr, but not /etc when looking for [Install] data 2015-11-12 17:57:04 +01:00
test-install.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-ipcrm.c util-lib: split out user/group/uid/gid calls into user-util.[ch] 2015-10-26 01:24:38 +01:00
test-job-type.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-json.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-libudev.c tree-wide: use xsprintf() where applicable 2016-01-12 15:36:32 +01:00
test-list.c basic: add LIST_INSERT_BEFORE 2015-08-04 03:23:43 -07:00
test-locale-util.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-log.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-loopback.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-namespace.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-netlink-manual.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
test-ns.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-parse-util.c test-parse-util: cover negative numbers, leading spaces, and more range errors 2015-11-11 10:09:18 +01:00
test-path-lookup.c tests: lookup_paths_init depends on SYSTEMD_UNIT_PATH. Test it 2015-10-31 22:00:32 +03:00
test-path-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-path.c tests: fix newlines in skip message 2015-12-02 09:50:01 -05:00
test-prioq.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-process-util.c process-util: rename get_parent_of_pid() → get_process_ppid() 2015-10-27 14:01:48 +01:00
test-ratelimit.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-rbtree.c basic: add RB-Tree implementation 2015-12-07 18:34:05 +01:00
test-replace-var.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
test-rlimit-util.c tests: don't change hard limit in test-rlimit-util 2016-01-04 07:56:48 +00:00
test-sched-prio.c tests: fix newlines in skip message 2015-12-02 09:50:01 -05:00
test-set.c core: set_put never returns -EEXIST 2015-04-10 17:13:15 +02:00
test-sigbus.c util-lib: split out fd-related operations into fd-util.[ch] 2015-10-25 13:19:18 +01:00
test-signal-util.c nss: block various signals while running NSS lookups 2016-01-27 02:22:58 +01:00
test-siphash24.c test: remove wrong endianess conversion in test-siphash24 2015-11-19 07:50:56 +01:00
test-sleep.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-socket-util.c test: fix failing test-socket-util when running with ipv6.disable=1 kernel param 2015-11-11 16:54:11 +01:00
test-strbuf.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
test-string-util.c basic: add ascii_strcasecmp_nn() call 2016-01-13 20:22:32 +01:00
test-strip-tab-ansi.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
test-strv.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-strxcpyx.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
test-tables.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-terminal-util.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-time.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-tmpfiles.c test-tmpfiles: actually test that the file is temporary 2016-01-20 18:36:09 -05:00
test-udev.c test-udev: small fixes 2015-11-06 12:14:02 +00:00
test-uid-range.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-unaligned.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-unit-file.c Merge pull request #2306 from walyong/exec_v01 2016-01-26 21:52:30 +01:00
test-unit-name.c basic: don't append suffixes to unit name glob expressions 2016-01-27 02:21:28 +01:00
test-user-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
test-utf8.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-util.c resolved: add alignment to base64 2016-01-28 18:35:01 -05:00
test-verbs.c test-verbs: add unit tests for verbs minilib 2015-01-08 15:57:38 -05:00
test-watchdog.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-xml.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00