diff options
author | guenther <> | 2011-05-01 04:25:40 +0000 |
---|---|---|
committer | guenther <> | 2011-05-01 04:25:40 +0000 |
commit | 538546430fb4daf98c2b8ddd5153747f529e4e5c (patch) | |
tree | c45bb4f5089dd1d1b2257b99cb95f0db3cc9a456 /src | |
parent | 695926aaa04b7001b939cc859c10383e7e6d5e42 (diff) | |
download | openbsd-538546430fb4daf98c2b8ddd5153747f529e4e5c.tar.gz openbsd-538546430fb4daf98c2b8ddd5153747f529e4e5c.tar.bz2 openbsd-538546430fb4daf98c2b8ddd5153747f529e4e5c.zip |
Make the regress setup not assume the umask is 022
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libc/glob/Makefile | 6 |
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 | ||
3 | PROG= globtest | 3 | PROG= globtest |
4 | 4 | ||
5 | run-regress-${PROG}: | 5 | run-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` |