Skip to content

Commit 8cb44bb

Browse files
committed
[test] rm old test stuff
1 parent 6b9554a commit 8cb44bb

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

io/io/test/TFileTests.cxx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#include <memory>
22
#include <vector>
33
#include <string>
4-
#include <cstring>
54
#include <csignal>
65

76
#include "gtest/gtest.h"
@@ -207,12 +206,6 @@ TEST(TFile, MakeSubDirectory)
207206
EXPECT_EQ(std::string(gDirectory->GetName()), "c");
208207
}
209208

210-
void handle_sigterm(int signum)
211-
{
212-
terminated = 1;
213-
std::cout << "handled signal " << strsignal(signum) << " on PID " << getpid() << std::endl;
214-
}
215-
216209
// https://github.com/root-project/root/issues/13300
217210
TEST(TFile, Sigterm)
218211
{
@@ -233,4 +226,4 @@ TEST(TFile, Sigterm)
233226
ASSERT_EQ(file.Get<TH1I>("subdir/h")->GetBinContent(5), 1);
234227
}
235228
gSystem->Unlink(filename);
236-
}
229+
}

0 commit comments

Comments
 (0)