public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: "Serge E. Hallyn" <serge.hallyn@canonical.com>
To: Jeffrey Burke <jburke@redhat.com>
Cc: ltp-list@lists.sf.net, sds@tycho.nsa.gov
Subject: Re: [LTP] Current state of the selinux tests in ltp-full-20100831
Date: Wed, 6 Oct 2010 15:59:49 -0500	[thread overview]
Message-ID: <20101006205949.GA28624@hallyn.com> (raw)
In-Reply-To: <1001719682.1339131286397104227.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>

Quoting Jeffrey Burke (jburke@redhat.com):
> Folks,
>  It has been a while since I update LTP for selinux testing. I am currently trying to use ltp-full-20100831 on RHEL5.6. I don't believe the procedure has changed at least according to the README. But here are the steps I followed.
> 
> 1.) tar -xvf ltp-full-20100831.tar
> 2.) pushd ltp-full-20100831; ./configure; popd
> 3.) make -C ltp-full-20100831 all
> 4.) make -C ltp-full-20100831 install
> 5.) pushd; make ltp-full-20100831/testcases/kernel/security/selinux-testsuite/tests; popd
> 6.) pushd ltp-full-20100831/testcases/kernel/security/selinux-testsuite/tests; make install; popd

I don't have ltp source in front of me, but I think there are two
problems here.  The first is that you don't make policy, as you do
below with the kernel.org git tree.

> 7.) cd ./ltp-full-20100831
> 8.) ./testscripts/test_selinux.sh

The second is that you're executing the test out of the source dir.  LTP
now runs out of /opt/ltp.  I *think* the same is also true for the selinux
testsuite.

So can you do:

	pushd ltp-full-20100831/testcases/kernel/security/selinux-testsuite/policy
	make && make install
	popd
	cd /opt/ltp
	./testscripts/test_selinux.sh

?

-serge

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2010-10-06 20:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1229185166.1336871286396286678.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
2010-10-06 20:31 ` [LTP] Current state of the selinux tests in ltp-full-20100831 Jeffrey Burke
2010-10-06 20:59   ` Serge E. Hallyn [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=20101006205949.GA28624@hallyn.com \
    --to=serge.hallyn@canonical.com \
    --cc=jburke@redhat.com \
    --cc=ltp-list@lists.sf.net \
    --cc=sds@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox