user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 4/3] t/feed.t: run properly without ssoma installed
  @ 2016-04-25 12:02  7%   ` Eric Wong
  0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2016-04-25 12:02 UTC (permalink / raw)
  To: meta

While we're at it, update some references to ssoma in the
Makefile.PL comment.
---
 Makefile.PL | 4 ++--
 t/feed.t    | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index 904b6ad..1948848 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -14,8 +14,8 @@ WriteMakefile(
 	ABSTRACT => 'public-inbox server infrastructure',
 	EXE_FILES => \@EXE_FILES,
 	PREREQ_PM => {
-		# note: we use ssoma(1) and spamc(1), NOT the Perl modules
-		# We also depend on git through ssoma.
+		# note: we use spamc(1), NOT the Perl modules
+		# We also depend on git.
 		# Keep this sorted and synced to the INSTALL document
 		'Date::Parse' => 0,
 		'Email::Address' => 0,
diff --git a/t/feed.t b/t/feed.t
index 906552e..61f0dc7 100644
--- a/t/feed.t
+++ b/t/feed.t
@@ -33,7 +33,8 @@ sub rand_use ($) {
 		}
 		$SSOMA{$cmd} = $x;
 	}
-	(($x > 0 && (int(rand(10)) % 2) == 1) || $x < 0);
+	return if $x < 0;
+	($x > 0 && (int(rand(10)) % 2) == 1);
 }
 
 my $tmpdir = tempdir('pi-feed-XXXXXX', TMPDIR => 1, CLEANUP => 1);
-- 
EW

^ permalink raw reply related	[relevance 7%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-04-25  9:52     [PATCH 0/3] remove ssoma dependency from public-inbox Eric Wong
2016-04-25  9:52     ` [PATCH 2/3] remove ssoma dependency Eric Wong
2016-04-25 12:02  7%   ` [PATCH 4/3] t/feed.t: run properly without ssoma installed Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).