summaryrefslogtreecommitdiff
path: root/regress/gnu/usr.bin
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2023-07-09 13:30:04 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2023-07-09 13:30:04 +0000
commit82c27f15e1e44508e267fb24a8b41ee39fc6bcaa (patch)
tree64f3cf73d4f86e4680905d5add4e38d10cc8fe47 /regress/gnu/usr.bin
parent216b3080f86b4727455d62bbc24fb38f363d8a9f (diff)
Some Perl tests set owner, permissions, access time, and modification
time on files in the Perl source distribution. Replace the symlink in obj directory with a copy, so that they do not modify OpenBSD src tree.
Diffstat (limited to 'regress/gnu/usr.bin')
-rw-r--r--regress/gnu/usr.bin/perl/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/regress/gnu/usr.bin/perl/Makefile b/regress/gnu/usr.bin/perl/Makefile
index 56ebf47f2fc..d6f5eaabb9d 100644
--- a/regress/gnu/usr.bin/perl/Makefile
+++ b/regress/gnu/usr.bin/perl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2023/07/08 14:49:55 bluhm Exp $
+# $OpenBSD: Makefile,v 1.5 2023/07/09 13:30:03 bluhm Exp $
.if ! (make(clean) || make(cleandir) || make(obj))
NCPU != /sbin/sysctl -n hw.ncpuonline
@@ -16,9 +16,14 @@ permissions:
# Match expectations of cpan/Test-Harness/t/source_handler.t for
# cpan/Test-Harness/t/source_tests/source*.sh executalbe bits.
# Remove symlink and fix permissions of copy in obj directory.
+ # cpan/autodie/t/chmod.t and cpan/autodie/t/chown.t modify themself,
+ # and cpan/autodie/t/utime.t touches touch_me. Replace symlink.
.for f in \
cpan/Test-Harness/t/source_tests/source.sh \
- cpan/Test-Harness/t/source_tests/source_args.sh
+ cpan/Test-Harness/t/source_tests/source_args.sh \
+ cpan/autodie/t/chmod.t \
+ cpan/autodie/t/chown.t \
+ cpan/autodie/t/touch_me
rm -f ${BSDOBJDIR}/gnu/usr.bin/perl/$f
cp ${BSDSRCDIR}/gnu/usr.bin/perl/$f ${BSDOBJDIR}/gnu/usr.bin/perl/$f
chmod +x ${BSDOBJDIR}/gnu/usr.bin/perl/$f