summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2016-05-01 09:42:46 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2016-05-01 09:42:46 +0000
commit66fdf263f1037797446dc5c1fe75832dd63638d8 (patch)
treeef6fed3202a8d45f728d8619e9d3c3137d9dd66f /regress/usr.bin
parentd9efd0e8de10645048b291a9c37c0ebc80613fdf (diff)
BE ELF object (just the header); also trim the LE object to just the
header as well.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/file/Makefile6
-rw-r--r--regress/usr.bin/file/t18.inbin6540 -> 64 bytes
-rw-r--r--regress/usr.bin/file/t19.inbin0 -> 64 bytes
-rw-r--r--regress/usr.bin/file/t19.out1
4 files changed, 4 insertions, 3 deletions
diff --git a/regress/usr.bin/file/Makefile b/regress/usr.bin/file/Makefile
index 937507b89c4..c1ee25573cb 100644
--- a/regress/usr.bin/file/Makefile
+++ b/regress/usr.bin/file/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.5 2016/05/01 09:18:06 nicm Exp $
+# $OpenBSD: Makefile,v 1.6 2016/05/01 09:42:45 nicm Exp $
FILE=file
REGRESS_TARGETS=t0 t1 t2 t3 t4 t5 t6 t7 \
- t8 t9 t10 t11 t15 t17 t18 t20 \
- t21 t22 t30 t31 t32
+ t8 t9 t10 t11 t15 t17 t18 t19 \
+ t20 t21 t22 t30 t31 t32
# .in: input file
# .out: desired result
diff --git a/regress/usr.bin/file/t18.in b/regress/usr.bin/file/t18.in
index 76af8b6699e..12b7a657a63 100644
--- a/regress/usr.bin/file/t18.in
+++ b/regress/usr.bin/file/t18.in
Binary files differ
diff --git a/regress/usr.bin/file/t19.in b/regress/usr.bin/file/t19.in
new file mode 100644
index 00000000000..47cf07660d1
--- /dev/null
+++ b/regress/usr.bin/file/t19.in
Binary files differ
diff --git a/regress/usr.bin/file/t19.out b/regress/usr.bin/file/t19.out
new file mode 100644
index 00000000000..1dc71651525
--- /dev/null
+++ b/regress/usr.bin/file/t19.out
@@ -0,0 +1 @@
+t19.in: ELF 32-bit MSB shared object, SPARC, version 1