summaryrefslogtreecommitdiff
path: root/regress/usr.bin/file
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2016-05-01 09:18:07 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2016-05-01 09:18:07 +0000
commitd9efd0e8de10645048b291a9c37c0ebc80613fdf (patch)
treee01acd683a0507b0e3ee9c14e6cbfb44b5b90113 /regress/usr.bin/file
parentfe1d4ac91e77a68df47676559e69ddc1c1dea052 (diff)
pcap file test (header of file only).
Diffstat (limited to 'regress/usr.bin/file')
-rw-r--r--regress/usr.bin/file/Makefile7
-rw-r--r--regress/usr.bin/file/t11.inbin0 -> 26 bytes
-rw-r--r--regress/usr.bin/file/t11.out1
3 files changed, 5 insertions, 3 deletions
diff --git a/regress/usr.bin/file/Makefile b/regress/usr.bin/file/Makefile
index 18991599086..937507b89c4 100644
--- a/regress/usr.bin/file/Makefile
+++ b/regress/usr.bin/file/Makefile
@@ -1,9 +1,10 @@
-# $OpenBSD: Makefile,v 1.4 2016/05/01 09:09:24 nicm Exp $
+# $OpenBSD: Makefile,v 1.5 2016/05/01 09:18:06 nicm Exp $
FILE=file
-REGRESS_TARGETS=t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t15 t17 t18 t20 t21 t22 t30 \
- t31 t32
+REGRESS_TARGETS=t0 t1 t2 t3 t4 t5 t6 t7 \
+ t8 t9 t10 t11 t15 t17 t18 t20 \
+ t21 t22 t30 t31 t32
# .in: input file
# .out: desired result
diff --git a/regress/usr.bin/file/t11.in b/regress/usr.bin/file/t11.in
new file mode 100644
index 00000000000..2c9dd856c58
--- /dev/null
+++ b/regress/usr.bin/file/t11.in
Binary files differ
diff --git a/regress/usr.bin/file/t11.out b/regress/usr.bin/file/t11.out
new file mode 100644
index 00000000000..4302ff8a948
--- /dev/null
+++ b/regress/usr.bin/file/t11.out
@@ -0,0 +1 @@
+t11.in: tcpdump capture file (little-endian) - version 2.4 (Ethernet, capture length 116)