All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Joshua Brindle <method@manicmethod.com>
Cc: SE Linux <selinux@tycho.nsa.gov>,
	Karl MacMillan <karlwmacmillan@gmail.com>
Subject: Re: sepolgen unit tests fail
Date: Wed, 24 Mar 2010 12:41:25 -0400	[thread overview]
Message-ID: <4BAA40B5.7010303@redhat.com> (raw)
In-Reply-To: <4BAA3B96.9000706@manicmethod.com>

On 03/24/2010 12:19 PM, Joshua Brindle wrote:
> I'm not sure when this happened or what caused it but when I try to 
> run the unit tests in the userspace repo I get this:
>
> python run-tests.py
> ..........F...............................
> ======================================================================
> FAIL: test_to_string (test_access.TestAccessVector)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/root/dev/selinux/sepolgen/tests/test_access.py", line 85, in 
> test_to_string
>     self.assertEquals(str(a), "allow foo bar : file { read write };")
> AssertionError: 'allow foo bar:file { read write };' != 'allow foo bar 
> : file { read write };'
>
> ----------------------------------------------------------------------
> Ran 43 tests in 3.112s
>
> FAILED (failures=1)
>
> -- 
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to 
> majordomo@tycho.nsa.gov with
> the words "unsubscribe selinux" without quotes as the message.
>
>
Looks like the space I removed between "bar : file" -> bar:file might be 
causing the problem.

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2010-03-24 16:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24 16:19 sepolgen unit tests fail Joshua Brindle
2010-03-24 16:41 ` Daniel J Walsh [this message]
2010-03-24 17:08 ` Daniel J Walsh
2010-03-24 17:47   ` Joshua Brindle

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=4BAA40B5.7010303@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=karlwmacmillan@gmail.com \
    --cc=method@manicmethod.com \
    --cc=selinux@tycho.nsa.gov \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.