note testing

This commit is contained in:
AJ ONeal 2017-02-02 21:26:05 -07:00
부모 99e4dca8a6
커밋 e3f2551889

파일 보기

@ -29,14 +29,14 @@ Similar API to `dns.js` and `native-dns-packet`.
, "res2": 0
, "res3": 0
, "rcode": 0
, "questions": [
, "question": [
{ "name": "bowie._sftp-ssh._tcp.local"
, "type": 1
, "class": 1
, "byteLength": 32
}
]
, "answers": []
, "answer": []
, "authority": []
, "additional": []
, "byteLength": 44
@ -50,6 +50,14 @@ Install
npm install git+https://git@git.daplie.com:Daplie/dns-lint
```
**Test**:
```bash
pushd node_modules/dns-lint
npm test
```
Usage
-----
@ -83,7 +91,7 @@ node bin/dns-parse.js samples/a-0.mdns.bin
```
You can also parse a saved packet from the `native-dns-packet` directory.
these test packets have the binary for each record type and what it's parsed output
these test packets have the binary for each record type and what it's parsed output
should be.
**Library**