Let the USDS test clean up after itself.
This commit is contained in:
parent
87394165de
commit
9465eae359
1 changed files with 5 additions and 0 deletions
|
@ -144,6 +144,11 @@ void testStream()
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
|
scope (exit) {
|
||||||
|
if (exists(addr1)) remove(addr1);
|
||||||
|
if (exists(addr2)) remove(addr2);
|
||||||
|
if (exists(addr3)) remove(addr3);
|
||||||
|
}
|
||||||
testStream();
|
testStream();
|
||||||
testDgram();
|
testDgram();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue