public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Richard Farina (zerochaos)" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/metasploit: metasploit-9999.ebuild ChangeLog
Date: Mon, 28 Apr 2014 16:37:39 +0000 (UTC)	[thread overview]
Message-ID: <20140428163739.3AD4D2004B@flycatcher.gentoo.org> (raw)

zerochaos    14/04/28 16:37:39

  Modified:             metasploit-9999.ebuild ChangeLog
  Log:
  minor updates and fixes for tests (which still don't pass)
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

Revision  Changes    Path
1.23                 net-analyzer/metasploit/metasploit-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/metasploit-9999.ebuild?rev=1.23&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/metasploit-9999.ebuild?rev=1.23&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/metasploit-9999.ebuild?r1=1.22&r2=1.23

Index: metasploit-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-9999.ebuild,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- metasploit-9999.ebuild	25 Apr 2014 16:48:54 -0000	1.22
+++ metasploit-9999.ebuild	28 Apr 2014 16:37:38 -0000	1.23
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-9999.ebuild,v 1.22 2014/04/25 16:48:54 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-9999.ebuild,v 1.23 2014/04/28 16:37:38 zerochaos Exp $
 
 EAPI="5"
 
@@ -206,24 +206,24 @@
 each_ruby_test() {
 	#review dev-python/pymongo for ways to make the test compatible with FEATURES=network-sandbox
 
-	# https://dev.metasploit.com/redmine/issues/8425
-	${RUBY} -S rake db:create || die
-	${RUBY} -S rake db:migrate || die
-
 	#we bogart msfupdate so no point in trying to test it
 	rm spec/msfupdate_spec.rb || die
 	#we don't really want to be uploading to virustotal during the tests
-	rm spec/tools/virustotal_spec.rb
+	rm spec/tools/virustotal_spec.rb || die
 
-	RAILS_ENV=test MSF_DATABASE_CONFIG=config/database.yml ${RUBY} -S rake spec || die
+	# https://dev.metasploit.com/redmine/issues/8425
+	${RUBY} -S bundle exec rake db:create || die
+	${RUBY} -S bundle exec rake db:migrate || die
+
+	MSF_DATABASE_CONFIG=config/database.yml ${RUBY} -S bundle exec rake  || die
 	su postgres -c "dropuser msf_test_user" || die "failed to cleanup msf_test-user"
 }
 
 each_ruby_install() {
 	#Tests have already been run, we don't need this stuff
-	rm -r spec
-	rm -r test
-	rm Gemfile.lock
+	rm -r spec || die
+	rm -r test || die
+	rm Gemfile.lock || die
 
 	#I'm 99% sure that this will only work for as long as we only support one ruby version.  Creativity will be needed if we wish to support multiple.
 	# should be as simple as copying everything into the target...



1.92                 net-analyzer/metasploit/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/ChangeLog?rev=1.92&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/ChangeLog?rev=1.92&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/ChangeLog?r1=1.91&r2=1.92

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- ChangeLog	25 Apr 2014 16:48:54 -0000	1.91
+++ ChangeLog	28 Apr 2014 16:37:39 -0000	1.92
@@ -1,6 +1,9 @@
 # ChangeLog for net-analyzer/metasploit
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.91 2014/04/25 16:48:54 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.92 2014/04/28 16:37:39 zerochaos Exp $
+
+  28 Apr 2014; Rick Farina <zerochaos@gentoo.org> metasploit-9999.ebuild:
+  minor updates and fixes for tests (which still don't pass)
 
   25 Apr 2014; Rick Farina <zerochaos@gentoo.org> +files/bug-8792.patch,
   metasploit-9999.ebuild:





             reply	other threads:[~2014-04-28 16:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28 16:37 Richard Farina (zerochaos) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-07-17 19:28 [gentoo-commits] gentoo-x86 commit in net-analyzer/metasploit: metasploit-9999.ebuild ChangeLog Richard Farina (zerochaos)
2014-07-17 19:27 Richard Farina (zerochaos)
2014-07-09 20:15 Richard Farina (zerochaos)
2014-06-28 17:44 Richard Farina (zerochaos)
2014-06-28  1:15 Richard Farina (zerochaos)
2014-06-28  1:08 Richard Farina (zerochaos)
2014-06-28  0:49 Richard Farina (zerochaos)
2014-05-30 14:18 Richard Farina (zerochaos)
2014-04-28 18:40 Richard Farina (zerochaos)
2014-04-25 16:48 Richard Farina (zerochaos)
2014-04-21 18:57 Richard Farina (zerochaos)
2014-04-11  2:42 Richard Farina (zerochaos)
2014-04-11  2:36 Richard Farina (zerochaos)
2014-03-24 22:05 Richard Farina (zerochaos)
2014-03-19 21:04 Richard Farina (zerochaos)
2014-03-06 15:44 Richard Farina (zerochaos)
2014-01-22 16:12 Richard Farina (zerochaos)
2014-01-10  5:11 Richard Farina (zerochaos)
2013-12-24 23:20 Richard Farina (zerochaos)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140428163739.3AD4D2004B@flycatcher.gentoo.org \
    --to=zerochaos@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox