1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

unittests.md: Update for new-style flags.

This commit is contained in:
Tom Limoncelli
2017-12-11 09:57:46 -05:00
parent a77f89ca72
commit 3f4cc3c025

View File

@@ -19,7 +19,9 @@ tests on this data.
Output the intermediate representation:
dnscontrol -debugjson foo.json print
dnscontrol print-ir --out foo.json --pretty
NOTE: The `--pretty` flag is optional.
Here is a sample test written in `bash` using the [jq](https://stedolan.github.io/jq/) command. This fails if the number of MX records in the `stackex.com` domain is not exactly 5: