From 538546430fb4daf98c2b8ddd5153747f529e4e5c Mon Sep 17 00:00:00 2001 From: guenther <> Date: Sun, 1 May 2011 04:25:40 +0000 Subject: Make the regress setup not assume the umask is 022 --- src/regress/lib/libc/glob/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/regress/lib/libc/glob/Makefile b/src/regress/lib/libc/glob/Makefile index ef209a3e18..b3f9567833 100644 --- a/src/regress/lib/libc/glob/Makefile +++ b/src/regress/lib/libc/glob/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.3 2010/09/24 13:32:55 djm Exp $ +# $OpenBSD: Makefile,v 1.4 2011/05/01 04:25:40 guenther Exp $ PROG= globtest run-regress-${PROG}: - mkdir -p `sed 's@/[^/]*$$@@' ${.CURDIR}/files | sort -u` - touch `cat ${.CURDIR}/files` + mkdir -m 755 -p `sed 's@/[^/]*$$@@' ${.CURDIR}/files | sort -u` + umask 022; touch `cat ${.CURDIR}/files` chmod 0755 `grep '/r[^/]*$$' ${.CURDIR}/files` chmod 0444 `grep '/s[^/]*$$' ${.CURDIR}/files` chmod 0711 `grep '/t[^/]*$$' ${.CURDIR}/files` -- cgit v1.2.3-55-g6feb