aboutsummaryrefslogtreecommitdiffstats
path: root/eth/sync_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/sync_test.go')
-rw-r--r--eth/sync_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/sync_test.go b/eth/sync_test.go
index 9eaa1156f..88c10c7f7 100644
--- a/eth/sync_test.go
+++ b/eth/sync_test.go
@@ -30,12 +30,12 @@ import (
// imported into the blockchain.
func TestFastSyncDisabling(t *testing.T) {
// Create a pristine protocol manager, check that fast sync is left enabled
- pmEmpty := newTestProtocolManagerMust(t, downloader.FastSync, 0, nil, nil)
+ pmEmpty, _ := newTestProtocolManagerMust(t, downloader.FastSync, 0, nil, nil)
if atomic.LoadUint32(&pmEmpty.fastSync) == 0 {
t.Fatalf("fast sync disabled on pristine blockchain")
}
// Create a full protocol manager, check that fast sync gets disabled
- pmFull := newTestProtocolManagerMust(t, downloader.FastSync, 1024, nil, nil)
+ pmFull, _ := newTestProtocolManagerMust(t, downloader.FastSync, 1024, nil, nil)
if atomic.LoadUint32(&pmFull.fastSync) == 1 {
t.Fatalf("fast sync not disabled on non-empty blockchain")
}
sent and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight * Make fonts repecting XDGbapt2015-03-224-34/+6 | | | | | | | | | | Xorg is now looking in ${LOCALBASE}/share/fonts by default Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1)) Large cleanup on lots of font ports All fonts are now properly dynamically generating fonts.dir and fonts.scale instead of sometime overwriting existing ones) All fonts are generating fontconfig's cache Improve consistency in fonts ports * Cleanup plistantoine2014-11-121-1/+0 | * vietnamese/unicode-uhoai: Fix deinstall and add stage supportmarino2014-05-313-10/+19 | | | | | | | | | | | | | | | | | This port had a few problems: * The package list tried to remove the wrong directory * The pkg-install script installs font.dir and font.scale files but never tries to remove them. This causes orphan checks to fail * The EXTRACTS_BEFORE_ARGS may not be additive (don't use +=) * The EXTRACTS_BEFORE_ARGS definition came after <bsd.port.mk> so it was never seen anyway * The latter may mean that the font never installed properly if the file didn't get transformed to lower case. After staging, I added a pkg-deinstall script. I'm not 100% sure it's correct if there are more than one Truetype font installed, but it's a lot better than it was and it removes the font.* stuff upon deinstall. This passes testport in poudriere. * Unbreakantoine2014-03-121-1/+1 | * Convert u* and v* to USES=zipbapt2014-03-111-1/+1 | * Fix properties on pkg-plistbapt2014-01-221-1/+0 | * Add NO_STAGE all over the place in preparation for the staging support (cat: ↵bapt2013-09-211-6/+2 | | | | vietnamese) * Provide a new MASTER_SITE.obrien2011-10-061-4/+3 | * Turns out that some geocities sites are more dead than others.dougb2011-08-241-1/+1 | | | | | | My apologies for the inconvenience. Meanwhile, s/BROKEN/DEPRECATED/ which is what I meant anyway. :-/ * Geocities has been gone for almost 2 years now, so let's removedougb2011-08-232-2/+3 | | | | | | references to it. Deprecate ports whose only MASTER_SITE is (was) geocities * - Get Rid MD5 supportmiwi2011-03-191-1/+0 | | | | With hat: portmgr (myself) * Remove file that does not seem to serve any purposepav2009-01-071-1/+0 |