mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-05 04:34:32 +08:00
unittests.md: Update for new-style flags.
This commit is contained in:
parent
a77f89ca72
commit
3f4cc3c025
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue