]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/cwd-relative-load.dtest/main.c
3 // BUILD: $CC foo.c -dynamiclib -o $BUILD_DIR/libfoo.dylib -install_name libfoo.dylib
4 // BUILD: $CC main.c $BUILD_DIR/libfoo.dylib -o $BUILD_DIR/cwd-load.exe
5 // BUILD: $DYLD_ENV_VARS_ENABLE $BUILD_DIR/cwd-load.exe
9 // libfoo.dylib is loaded from the current directory (not an absolute path)
14 #include "test_support.h"
19 int main(int argc
, const char* argv
[], const char* envp
[], const char* apple
[]) {
21 PASS("cwd-relative-load");
23 FAIL("cwd-relative-load, wrong value");