Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
b183c161
Commit
b183c161
authored
Jun 24, 2015
by
Francis Dupont
Browse files
[master] Some other/new s/unlink/remove/
parent
ebad861f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
View file @
b183c161
...
...
@@ -209,8 +209,8 @@ public:
HooksManager
::
unloadLibraries
();
// Get rid of any marker files.
static_cast
<
void
>
(
unlink
(
LOAD_MARKER_FILE
));
static_cast
<
void
>
(
unlink
(
UNLOAD_MARKER_FILE
));
static_cast
<
void
>
(
remove
(
LOAD_MARKER_FILE
));
static_cast
<
void
>
(
remove
(
UNLOAD_MARKER_FILE
));
IfaceMgr
::
instance
().
deleteAllExternalSockets
();
CfgMgr
::
instance
().
clear
();
}
...
...
src/bin/dhcp6/tests/dhcp6_test_utils.cc
View file @
b183c161
...
...
@@ -834,7 +834,7 @@ Dhcpv6SrvTest::configure(const std::string& config, NakedDhcpv6Srv& srv) {
NakedDhcpv6SrvTest
::
NakedDhcpv6SrvTest
()
:
rcode_
(
-
1
)
{
// it's ok if that fails. There should not be such a file anyway
unlink
(
DUID_FILE
);
remove
(
DUID_FILE
);
const
isc
::
dhcp
::
IfaceMgr
::
IfaceCollection
&
ifaces
=
isc
::
dhcp
::
IfaceMgr
::
instance
().
getIfaces
();
...
...
@@ -856,7 +856,7 @@ NakedDhcpv6SrvTest::~NakedDhcpv6SrvTest() {
isc
::
stats
::
StatsMgr
::
instance
().
removeAll
();
// Let's clean up if there is such a file.
unlink
(
DUID_FILE
);
remove
(
DUID_FILE
);
isc
::
hooks
::
HooksManager
::
preCalloutsLibraryHandle
()
.
deregisterAllCallouts
(
"buffer6_receive"
);
isc
::
hooks
::
HooksManager
::
preCalloutsLibraryHandle
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment