"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "internal/dhcpd/dhcpd_test.go" between
AdGuardHome-0.104.1.tar.gz and AdGuardHome-0.104.3.tar.gz

About: AdGuard Home is a network-wide ads & trackers blocking DNS server. It operates as a DNS server that re-routes tracking domains to a "black hole," thus preventing your devices from connecting to those servers.

dhcpd_test.go  (AdGuardHome-0.104.1):dhcpd_test.go  (AdGuardHome-0.104.3)
skipping to change at line 12 skipping to change at line 12
package dhcpd package dhcpd
import ( import (
"bytes" "bytes"
"net" "net"
"os" "os"
"testing" "testing"
"time" "time"
"github.com/AdguardTeam/AdGuardHome/internal/testutil"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )
func TestMain(m *testing.M) {
testutil.DiscardLogOutput(m)
}
func testNotify(flags uint32) { func testNotify(flags uint32) {
} }
// Leases database store/load // Leases database store/load
func TestDB(t *testing.T) { func TestDB(t *testing.T) {
var err error var err error
s := Server{} s := Server{}
s.conf.DBFilePath = dbFilename s.conf.DBFilePath = dbFilename
conf := V4ServerConf{ conf := V4ServerConf{
 End of changes. 2 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)