summaryrefslogtreecommitdiff
path: root/regress/bin/pax
diff options
context:
space:
mode:
Diffstat (limited to 'regress/bin/pax')
-rw-r--r--regress/bin/pax/Makefile4
-rw-r--r--regress/bin/pax/t6.sh6
2 files changed, 8 insertions, 2 deletions
diff --git a/regress/bin/pax/Makefile b/regress/bin/pax/Makefile
index 7a362f82451..aa8ad2295ea 100644
--- a/regress/bin/pax/Makefile
+++ b/regress/bin/pax/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.5 2006/01/25 17:42:08 markus Exp $
+# $OpenBSD: Makefile,v 1.6 2006/07/21 22:59:05 ray Exp $
-TESTSCRIPTS=t1 t2 t3 t4 t5
+TESTSCRIPTS=t1 t2 t3 t4 t5 t6
.for t in ${TESTSCRIPTS}
REGRESS_TARGETS+=t-${t}
diff --git a/regress/bin/pax/t6.sh b/regress/bin/pax/t6.sh
new file mode 100644
index 00000000000..ff08466d9d7
--- /dev/null
+++ b/regress/bin/pax/t6.sh
@@ -0,0 +1,6 @@
+# $OpenBSD: t6.sh,v 1.1 2006/07/21 22:59:05 ray Exp $
+# Don't segfault if no file list is given.
+#
+OBJ=$2
+cd ${OBJ}
+cpio -o < /dev/null