summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguenther <>2011-05-01 04:25:40 +0000
committerguenther <>2011-05-01 04:25:40 +0000
commit50a72bf80c44cf77d9dabce74650002f099579ae (patch)
treec45bb4f5089dd1d1b2257b99cb95f0db3cc9a456
parentfa321405b0b123032494e25c51958c482ba92ba3 (diff)
downloadopenbsd-50a72bf80c44cf77d9dabce74650002f099579ae.tar.gz
openbsd-50a72bf80c44cf77d9dabce74650002f099579ae.tar.bz2
openbsd-50a72bf80c44cf77d9dabce74650002f099579ae.zip
Make the regress setup not assume the umask is 022
-rw-r--r--src/regress/lib/libc/glob/Makefile6
1 files 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 @@
1# $OpenBSD: Makefile,v 1.3 2010/09/24 13:32:55 djm Exp $ 1# $OpenBSD: Makefile,v 1.4 2011/05/01 04:25:40 guenther Exp $
2 2
3PROG= globtest 3PROG= globtest
4 4
5run-regress-${PROG}: 5run-regress-${PROG}:
6 mkdir -p `sed 's@/[^/]*$$@@' ${.CURDIR}/files | sort -u` 6 mkdir -m 755 -p `sed 's@/[^/]*$$@@' ${.CURDIR}/files | sort -u`
7 touch `cat ${.CURDIR}/files` 7 umask 022; touch `cat ${.CURDIR}/files`
8 chmod 0755 `grep '/r[^/]*$$' ${.CURDIR}/files` 8 chmod 0755 `grep '/r[^/]*$$' ${.CURDIR}/files`
9 chmod 0444 `grep '/s[^/]*$$' ${.CURDIR}/files` 9 chmod 0444 `grep '/s[^/]*$$' ${.CURDIR}/files`
10 chmod 0711 `grep '/t[^/]*$$' ${.CURDIR}/files` 10 chmod 0711 `grep '/t[^/]*$$' ${.CURDIR}/files`