user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* [PATCH] t/import: quiet warning, clobber variable
@ 2020-07-16 21:54 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2020-07-16 21:54 UTC (permalink / raw)
  To: meta

The eval in key2sub via t/run.perl ("make check-run") won't
trigger the warning, but running "prove -bvw t/import.t"
directly, does.  In any case, ensure the contents of this
variable doesn't linger across runs.
 t/import.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/import.t b/t/import.t
index 9491f3374..440e8994a 100644
--- a/t/import.t
+++ b/t/import.t
@@ -126,5 +126,6 @@ like($$bref, qr/^author Ba d \$main::badchars <spammer\@example\.com> /sm,
 	 'latest commit accepted by spammer');
 $git->qx(qw(fsck --no-progress --strict));
 is($?, 0, 'fsck reported no errors');
+$main::badchars = undef;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-16 21:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 21:54 [PATCH] t/import: quiet warning, clobber variable Eric Wong

user/dev discussion of public-inbox itself

This inbox may be cloned and mirrored by anyone:

	git clone --mirror
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 meta meta/ \
	public-inbox-index meta

Example config snippet for mirrors.
Newsgroups are available over NNTP:
 note: .onion URLs require Tor:

code repositories for project(s) associated with this inbox:

AGPL code for this site: git clone