summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2016-05-01 11:28:07 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2016-05-01 11:28:07 +0000
commit9100bf4553efe9c2b827f9d71ce53c4f47e33996 (patch)
treeee3ac4918478a09c42ce379633b7e4bb1a472baf /regress
parent72dc7a03c52a08f873196af0ec1ce3805004c0c4 (diff)
Add a test for pstring (a QDOS executable header).
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/file/Makefile4
-rw-r--r--regress/usr.bin/file/t33.inbin0 -> 16 bytes
-rw-r--r--regress/usr.bin/file/t33.out1
3 files changed, 3 insertions, 2 deletions
diff --git a/regress/usr.bin/file/Makefile b/regress/usr.bin/file/Makefile
index c1ee25573cb..d08124c3789 100644
--- a/regress/usr.bin/file/Makefile
+++ b/regress/usr.bin/file/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.6 2016/05/01 09:42:45 nicm Exp $
+# $OpenBSD: Makefile,v 1.7 2016/05/01 11:28:06 nicm Exp $
FILE=file
REGRESS_TARGETS=t0 t1 t2 t3 t4 t5 t6 t7 \
t8 t9 t10 t11 t15 t17 t18 t19 \
- t20 t21 t22 t30 t31 t32
+ t20 t21 t22 t30 t31 t32 t33
# .in: input file
# .out: desired result
diff --git a/regress/usr.bin/file/t33.in b/regress/usr.bin/file/t33.in
new file mode 100644
index 00000000000..7e55cb2a317
--- /dev/null
+++ b/regress/usr.bin/file/t33.in
Binary files differ
diff --git a/regress/usr.bin/file/t33.out b/regress/usr.bin/file/t33.out
new file mode 100644
index 00000000000..f0fb5fb95c8
--- /dev/null
+++ b/regress/usr.bin/file/t33.out
@@ -0,0 +1 @@
+t33.in: QDOS executable 'foobar'