Index: test/Modules/crash-vfs-path-emptydir-entries.m =================================================================== --- test/Modules/crash-vfs-path-emptydir-entries.m +++ test/Modules/crash-vfs-path-emptydir-entries.m @@ -8,7 +8,7 @@ // RUN: rm -rf %t // RUN: mkdir -p %t/i %t/m %t %t/sysroot -// RUN: cp -a %S/Inputs/crash-recovery/usr %t/i/ +// RUN: cp -R %S/Inputs/crash-recovery/usr %t/i/ // RUN: not env FORCE_CLANG_DIAGNOSTICS_CRASH= TMPDIR=%t TEMP=%t TMP=%t \ // RUN: %clang -fsyntax-only %s -I %/t/i -isysroot %/t/sysroot/ \ Index: test/Modules/crash-vfs-path-symlink-component.m =================================================================== --- test/Modules/crash-vfs-path-symlink-component.m +++ test/Modules/crash-vfs-path-symlink-component.m @@ -8,7 +8,7 @@ // RUN: rm -rf %t // RUN: mkdir -p %t/i %t/m %t %t/sysroot -// RUN: cp -a %S/Inputs/crash-recovery/usr %t/i/ +// RUN: cp -R %S/Inputs/crash-recovery/usr %t/i/ // RUN: ln -s include/tcl-private %t/i/usr/x // RUN: not env FORCE_CLANG_DIAGNOSTICS_CRASH= TMPDIR=%t TEMP=%t TMP=%t \ Index: test/Modules/crash-vfs-path-symlink-topheader.m =================================================================== --- test/Modules/crash-vfs-path-symlink-topheader.m +++ test/Modules/crash-vfs-path-symlink-topheader.m @@ -8,7 +8,7 @@ // RUN: rm -rf %t // RUN: mkdir -p %t/i %t/m %t %t/sysroot -// RUN: cp -a %S/Inputs/crash-recovery/usr %t/i/ +// RUN: cp -R %S/Inputs/crash-recovery/usr %t/i/ // RUN: rm -f %t/i/usr/include/pthread_impl.h // RUN: ln -s pthread/pthread_impl.h %t/i/usr/include/pthread_impl.h Index: test/Modules/crash-vfs-umbrella-frameworks.m =================================================================== --- test/Modules/crash-vfs-umbrella-frameworks.m +++ test/Modules/crash-vfs-umbrella-frameworks.m @@ -5,7 +5,7 @@ // RUN: rm -rf %t // RUN: mkdir -p %t/i %t/m %t -// RUN: cp -a %S/Inputs/crash-recovery/Frameworks %t/i/ +// RUN: cp -R %S/Inputs/crash-recovery/Frameworks %t/i/ // RUN: mkdir -p %t/i/Frameworks/A.framework/Frameworks // RUN: ln -s ../../B.framework %t/i/Frameworks/A.framework/Frameworks/B.framework Index: test/VFS/umbrella-framework-import-skipnonexist.m =================================================================== --- test/VFS/umbrella-framework-import-skipnonexist.m +++ test/VFS/umbrella-framework-import-skipnonexist.m @@ -5,7 +5,7 @@ // RUN: rm -rf %t // RUN: mkdir -p %t/vdir %t/outdir %t/cache -// RUN: cp -a %S/Inputs/Bar.framework %t/outdir/ +// RUN: cp -R %S/Inputs/Bar.framework %t/outdir/ // // RUN: sed -e "s:VDIR:%t/vdir:g" -e "s:OUT_DIR:%t/outdir:g" %S/Inputs/bar-headers.yaml > %t/vdir/bar-headers.yaml // RUN: rm -f %t/outdir/Bar.framework/Headers/B.h