summaryrefslogtreecommitdiff
path: root/regress/bin
diff options
context:
space:
mode:
Diffstat (limited to 'regress/bin')
-rw-r--r--regress/bin/pax/Makefile4
-rw-r--r--regress/bin/pax/t1.out2
-rw-r--r--regress/bin/pax/t1.sh4
-rw-r--r--regress/bin/pax/t2.out2
-rw-r--r--regress/bin/pax/t2.sh14
5 files changed, 21 insertions, 5 deletions
diff --git a/regress/bin/pax/Makefile b/regress/bin/pax/Makefile
index d57de23c1be..107981e6333 100644
--- a/regress/bin/pax/Makefile
+++ b/regress/bin/pax/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.1 2005/04/14 15:17:07 cloder Exp $
+# $OpenBSD: Makefile,v 1.2 2005/04/15 07:06:35 markus Exp $
-TESTSCRIPTS=t1
+TESTSCRIPTS=t1 t2
.for t in ${TESTSCRIPTS}
REGRESS_TARGETS+=t-${t}
diff --git a/regress/bin/pax/t1.out b/regress/bin/pax/t1.out
index 8a7aadbe618..62307e5dc6a 100644
--- a/regress/bin/pax/t1.out
+++ b/regress/bin/pax/t1.out
@@ -1 +1 @@
--rw-r--r-- 1 501 500 342 Feb 2 21:10 digikamimageplugins-0.7.2/digikamimageplugins/antivignetting/digikamimageplugin_antivignetting_ui.rc
+digikamimageplugins-0.7.2/digikamimageplugins/antivignetting/digikamimageplugin_antivignetting_ui.rc
diff --git a/regress/bin/pax/t1.sh b/regress/bin/pax/t1.sh
index 991e2d49c49..771b41b82c4 100644
--- a/regress/bin/pax/t1.sh
+++ b/regress/bin/pax/t1.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: t1.sh,v 1.1 2005/04/14 15:17:07 cloder Exp $
+# $OpenBSD: t1.sh,v 1.2 2005/04/15 07:06:35 markus Exp $
# pax was assuming ustar entries were always NUL terminated
CUR=$1
@@ -33,4 +33,4 @@ B````````````````````````````````````````````````
end
_EOF
-tar tvf $OBJ/t1.tar 2> /dev/null | cmp -s $CUR/t1.out /dev/stdin
+tar tf $OBJ/t1.tar 2> /dev/null | cmp -s $CUR/t1.out /dev/stdin
diff --git a/regress/bin/pax/t2.out b/regress/bin/pax/t2.out
new file mode 100644
index 00000000000..a34d79f8302
--- /dev/null
+++ b/regress/bin/pax/t2.out
@@ -0,0 +1,2 @@
+abc/1234
+abc/abc
diff --git a/regress/bin/pax/t2.sh b/regress/bin/pax/t2.sh
new file mode 100644
index 00000000000..281a746426f
--- /dev/null
+++ b/regress/bin/pax/t2.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+# $OpenBSD: t2.sh,v 1.1 2005/04/15 07:06:35 markus Exp $
+
+# tar.c, rev 1.36
+CUR=$1
+OBJ=$2
+uudecode -p << '_EOF' | tar ztf - 2> /dev/null | cmp -s $CUR/t2.out /dev/stdin
+begin 644 foo
+M'XL(`````````^W1L1&`,`@%4$9A!$(@S!/=0./^)A9Z9ZEBQ6M^0_&YGS@+
+M.",B4SVRNQ)/!(F8BY5,_1#1)#&@>A<;MK75!4:==^[/U6G^HIZW/VH^V%^E
+/Q/XAA.!I!W_0A94`"```
+`
+end
+_EOF