File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,15 @@ TEST(TFile, ReadWithoutGlobalRegistrationNet)
141141 const auto netFile = " root://eospublic.cern.ch//eos/root-eos/h1/dstarmb.root" ;
142142 TestReadWithoutGlobalRegistrationIfPossible (netFile);
143143}
144+ TEST (TFile, ReadWithCacheWithoutGlobalRegistration)
145+ {
146+ const auto webFile = " http://root.cern/files/h1/dstarmb.root" ;
147+ TFile::SetCacheFileDir (" ." );
148+ delete TFile::Open (webFile, " READ_WITHOUT_GLOBALREGISTRATION" );
149+ EXPECT_TRUE (gSystem ->AccessPathName (" ./files/h1/dstarmb.root" ));
150+ TFile::SetCacheFileDir (" " );
151+ gSystem ->Unlink (" ./files" );
152+ }
144153#endif
145154#endif
146155
@@ -295,3 +304,4 @@ TEST(TFile, PersistTObjectStdArray)
295304 }
296305 gSystem ->Unlink (filename);
297306}
307+
You can’t perform that action at this time.
0 commit comments