]>
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)
19 printf("[BEGIN] cwd-relative-load\n");
21 printf("[PASS] cwd-relative-load\n");
23 printf("[FAIL] cwd-relative-load, wrong value\n");