]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/restrict-environ/Makefile
dyld-210.2.3.tar.gz
[apple/dyld.git] / unit-tests / test-cases / restrict-environ / Makefile
index 8aa6bea413796277bf79a76cefeeea50061c6015..a22a543f29bf47221e58db79c6e774c85a73f7e4 100644 (file)
@@ -23,6 +23,8 @@
 TESTROOT = ../..
 include ${TESTROOT}/include/common.makefile
 
+SHELL = bash # use bash shell so we can redirect just stderr
+
 ifeq "$(OS_NAME)" "iPhoneOS"
        RUN_AS_USER = login -f -l mobile
 else
@@ -34,7 +36,7 @@ PWD = `pwd`
 all-check: all check
 
 check:
-       ${RUN_AS_USER} $(PWD)/main-with-env
+       ${RUN_AS_USER} $(PWD)/main-with-env 2>/dev/null
 
 all: main