Skip to content

Commit

Permalink
Use cp -rp in test_plugin.sh
Browse files Browse the repository at this point in the history
When building with debug symbols on MacOS, the cp -p commands in
test_plugin.sh will attempt to copy the .dSYM directories with
debugging info, which will fail since -r is missing.

Using cp -rp is harmless and allows the test to run

Fixes HDFFV-10542
  • Loading branch information
derobins committed Mar 25, 2024
1 parent 30c1bbd commit b755f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_plugin.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TOP_BUILDDIR=@top_builddir@
EXIT_SUCCESS=0
EXIT_FAILURE=1

CP="cp -p" # Use -p to preserve mode,ownership, timestamps
CP="cp -rp" # Use -p to preserve mode,ownership, timestamps
RM="rm -rf"

nerrors=0
Expand Down

0 comments on commit b755f26

Please sign in to comment.