File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -244,12 +244,14 @@ def handle_test_env() -> None:
244
244
if is_set ("TEST_CRYPT_SHARED" ):
245
245
CRYPT_SHARED_DIR = Path (os .environ ["CRYPT_SHARED_LIB_PATH" ]).parent .as_posix ()
246
246
LOGGER .info ("Using crypt_shared_dir %s" , CRYPT_SHARED_DIR )
247
- write_env (
248
- "DYLD_FALLBACK_LIBRARY_PATH" ,
249
- f"{ CRYPT_SHARED_DIR } :$DYLD_FALLBACK_LIBRARY_PATH" ,
250
- )
251
- write_env ("LD_LIBRARY_PATH" , f"{ CRYPT_SHARED_DIR } :$LD_LIBRARY_PATH" )
252
- write_env ("PATH" , f"{ CRYPT_SHARED_DIR } :$PATH" )
247
+ if os .name == "nt" :
248
+ write_env ("PATH" , f"{ CRYPT_SHARED_DIR } :$PATH" )
249
+ else :
250
+ write_env (
251
+ "DYLD_FALLBACK_LIBRARY_PATH" ,
252
+ f"{ CRYPT_SHARED_DIR } :${{DYLD_FALLBACK_LIBRARY_PATH:-}}" ,
253
+ )
254
+ write_env ("LD_LIBRARY_PATH" , f"{ CRYPT_SHARED_DIR } :${{LD_LIBRARY_PATH:-}}" )
253
255
254
256
if is_set ("TEST_FLE_AZURE_AUTO" ) or is_set ("TEST_FLE_GCP_AUTO" ):
255
257
if "SUCCESS" not in os .environ :
You can’t perform that action at this time.
0 commit comments