Skip to content

Commit d87406c

Browse files
committed
[roottest] add --recreate flag to a RootCp test
Otherwise it may fail to run if the file is already there
1 parent fca95ec commit d87406c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

roottest/main/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ ROOTTEST_ADD_TEST(RootcpReplaceEntireFileClean
378378
379379
if(xrootd)
380380
ROOTTEST_ADD_TEST(RootcpReadRemote
381-
COMMAND ${TOOLS_PREFIX}/rootcp${exeext} root://eospublic.cern.ch//eos/root-eos/h1/dstarmb.root copy_remote.root
381+
COMMAND ${TOOLS_PREFIX}/rootcp${exeext} --recreate root://eospublic.cern.ch//eos/root-eos/h1/dstarmb.root copy_remote.root
382382
FIXTURES_SETUP main-RootcpReadRemote-fixture)
383383
384384
ROOTTEST_ADD_TEST(RootcpReadRemoteCheckOutput

0 commit comments

Comments
 (0)