All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Carter <jwcart2@gmail.com>
To: Petr Lautrbach <plautrba@redhat.com>
Cc: SElinux list <selinux@vger.kernel.org>
Subject: Re: [PATCH] mcstrans: Improve mlstrans-test output
Date: Tue, 10 Aug 2021 12:31:42 -0400	[thread overview]
Message-ID: <CAP+JOzTxtN42OF9+C5EeKNUAq76RRaP4nrHuiLuG3dLU_U=APg@mail.gmail.com> (raw)
In-Reply-To: <CAP+JOzR3twm0Jg5EFsRP=2mzEdthUnwVv=8WKcXV=3zVzz+c1w@mail.gmail.com>

On Fri, Aug 6, 2021 at 4:06 PM James Carter <jwcart2@gmail.com> wrote:
>
> On Fri, Aug 6, 2021 at 4:34 AM Petr Lautrbach <plautrba@redhat.com> wrote:
> >
> > Fixes:
> >     trans: a:b:c:s9 -> a:b:c:TOP SECRET != a:b:c:TOP SECRET SUCCESS
> >     untrans: a:b:c:T O P S E C R E T -> a:b:c:s9 != a:b:c:s9 SUCCESS
> >
> > Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
>
> Acked-by: James Carter <jwcart2@gmail.com>
>
Merged.
Thanks,
Jim

> > ---
> >  mcstrans/share/util/mlstrans-test | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/mcstrans/share/util/mlstrans-test b/mcstrans/share/util/mlstrans-test
> > index 085fa82ddd25..df34e0e67c84 100644
> > --- a/mcstrans/share/util/mlstrans-test
> > +++ b/mcstrans/share/util/mlstrans-test
> > @@ -15,7 +15,7 @@ def untrans(trans, val):
> >          errors += 1
> >      else:
> >          if verbose:
> > -            print("untrans: %s -> %s != %s SUCCESS" % (trans, raw, val))
> > +            print("untrans: '%s' -> '%s' == '%s' SUCCESS" % (trans, raw, val))
> >
> >
> >  def trans(raw, val):
> > @@ -26,7 +26,7 @@ def trans(raw, val):
> >          errors += 1
> >      else:
> >          if verbose:
> > -            print("trans: %s -> %s != %s SUCCESS" % (raw, trans, val))
> > +            print("trans: '%s' -> '%s' == '%s' SUCCESS" % (raw, trans, val))
> >
> >
> >  if len(sys.argv) > 1 and sys.argv[1] == "-v":
> > --
> > 2.32.0
> >

      reply	other threads:[~2021-08-10 16:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06  8:33 [PATCH] mcstrans: Improve mlstrans-test output Petr Lautrbach
2021-08-06 20:06 ` James Carter
2021-08-10 16:31   ` James Carter [this message]

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='CAP+JOzTxtN42OF9+C5EeKNUAq76RRaP4nrHuiLuG3dLU_U=APg@mail.gmail.com' \
    --to=jwcart2@gmail.com \
    --cc=plautrba@redhat.com \
    --cc=selinux@vger.kernel.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 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.