X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/412ebb8e3cc35d457058c31310d89ef96b7c416d..9f83892a2b93eb5239bb24af5371fef9407632b4:/unit-tests/test-cases/crt-apple/Makefile?ds=sidebyside diff --git a/unit-tests/test-cases/crt-apple/Makefile b/unit-tests/test-cases/crt-apple/Makefile index 78e43d5..73b71ac 100644 --- a/unit-tests/test-cases/crt-apple/Makefile +++ b/unit-tests/test-cases/crt-apple/Makefile @@ -23,6 +23,9 @@ TESTROOT = ../.. include ${TESTROOT}/include/common.makefile +SHELL = bash # use bash shell so we can redirect just stderr + + # # verify that apple[0] parameter is correct by comparing to argv[1] # @@ -34,7 +37,7 @@ check: ./main.stripped ./main.stripped `pwd`/main `pwd`/main `pwd`/main.stripped `pwd`/main.stripped - export DYLD_LIBRARY_PATH=. && export DYLD_FRAMEWORK_PATH=. && ./main-setuid ./main-setuid + export DYLD_LIBRARY_PATH=. && export DYLD_FRAMEWORK_PATH=. && ./main-setuid ./main-setuid 2>/dev/null all: main main.stripped main-setuid @@ -42,7 +45,7 @@ main: main.c ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c -w main.stripped: main - strip main -o main.stripped + ${STRIP} main -o main.stripped main-setuid: main cp main main-setuid