summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2016-12-09 10:50:38 +1300
committerAndrew Bartlett <abartlet@samba.org>2017-02-14 13:39:01 +0100
commit03c4cf5b10dcd054f8500c5e8be0b5c9e5a09dee (patch)
tree5342951ccf88e96c247501b01e504bff2bc27171 /source4/librpc
parent4940661658c604464609b0e9cf4bf353a265c2db (diff)
downloadsamba-03c4cf5b10dcd054f8500c5e8be0b5c9e5a09dee.tar.gz
tests/ndrdump: Add a test for --hex-input
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Feb 14 13:39:01 CET 2017 on sn-devel-144
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/tests/dns-decode_dns_name_packet-hex.dat7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/librpc/tests/dns-decode_dns_name_packet-hex.dat b/source4/librpc/tests/dns-decode_dns_name_packet-hex.dat
new file mode 100644
index 00000000000..c095bccaddc
--- /dev/null
+++ b/source4/librpc/tests/dns-decode_dns_name_packet-hex.dat
@@ -0,0 +1,7 @@
+[0000] EC EF 28 00 00 01 00 00 00 01 00 00 09 73 61 6D ..(..... .....sam
+[0010] 62 61 32 30 30 33 07 65 78 61 6D 70 6C 65 03 63 ba2003.e xample.c
+[0020] 6F 6D 00 00 06 00 01 0F 63 6E 61 6D 65 64 6F 74 om...... cnamedot
+[0030] 70 72 65 66 69 78 30 C0 0C 00 05 00 01 00 00 03 prefix0. ........
+[0040] 84 00 13 00 0F 62 6E 61 6D 65 64 6F 74 70 72 65 .....bna medotpre
+[0050] 66 69 78 32 C0 0C fix2..
+