diff options
author | 2011-05-01 04:25:40 +0000 | |
---|---|---|
committer | 2011-05-01 04:25:40 +0000 | |
commit | 0d21e3506a246996e81cb8b5616f61aa7d9505d0 (patch) | |
tree | cc584a7e5292b1a646cea8b156f5e9652350f1cc /regress/lib/libc/glob | |
parent | Remove some unused code, from Michael W Bombardieri. ok yasuoka (diff) | |
download | wireguard-openbsd-0d21e3506a246996e81cb8b5616f61aa7d9505d0.tar.xz wireguard-openbsd-0d21e3506a246996e81cb8b5616f61aa7d9505d0.zip |
Make the regress setup not assume the umask is 022
Diffstat (limited to 'regress/lib/libc/glob')
-rw-r--r-- | regress/lib/libc/glob/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libc/glob/Makefile b/regress/lib/libc/glob/Makefile index ef209a3e189..b3f95678332 100644 --- a/regress/lib/libc/glob/Makefile +++ b/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` |