mirror of
https://github.com/safing/portbase
synced 2025-09-11 07:44:43 +00:00
Revamp module structure
- Add shutdown mechanics to module - Adapt dbmodule to new mechanics
This commit is contained in:
parent
090669728d
commit
402429cd70
11 changed files with 108 additions and 37 deletions
|
@ -202,11 +202,11 @@ func TestErrors(t *testing.T) {
|
|||
startCompleteSignal = make(chan struct{})
|
||||
|
||||
// test help flag
|
||||
helpFlag = true
|
||||
HelpFlag = true
|
||||
err = Start()
|
||||
if err == nil {
|
||||
t.Error("should fail")
|
||||
}
|
||||
helpFlag = false
|
||||
HelpFlag = false
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue