Remove obsolete logic from the Makefile in selinux-testsuite/refpolicy/redhat/5. This Makefile only gets used if we are running the testsuite on RHEL5, so we can drop the conditional TARGET definitions based on the redhat-release value.
Signed-off-by: Stephen Smalley <[email protected]> --- kernel/security/selinux-testsuite/refpolicy/redhat/5/Makefile | 25 ---------- 1 file changed, 25 deletions(-) Index: testcases/kernel/security/selinux-testsuite/refpolicy/redhat/5/Makefile =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/security/selinux-testsuite/refpolicy/redhat/5/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- testcases/kernel/security/selinux-testsuite/refpolicy/redhat/5/Makefile 11 May 2009 07:22:27 -0000 1.1 +++ testcases/kernel/security/selinux-testsuite/refpolicy/redhat/5/Makefile 11 May 2009 17:50:38 -0000 @@ -1,4 +1,3 @@ -REDHAT_RELEASE=$(shell rpm -q redhat-release) POLICYDEVEL = /usr/share/selinux/devel SEMODULE = /usr/sbin/semodule @@ -12,30 +11,6 @@ test_task_getpgid.te test_task_getsched.te test_task_getsid.te \ test_task_setpgid.te test_task_setsched.te test_transition.te test_wait.te -ifeq (redhat-release-4, $(findstring redhat-release-4, $(REDHAT_RELEASE))) - TARGETS=test_global.te test_capable_file.te test_capable_net.te \ - test_capable_sys.te test_entrypoint.te \ - test_execshare.te test_exectrace.te test_execute_no_trans.te \ - test_fdreceive.te test_file.te test_inherit.te test_ioctl.te test_ipc.te \ - test_link.te test_mkdir.te test_open.te test_ptrace.te test_readlink.te \ - test_relabel.te test_rename.te test_rxdir.te test_setattr.te test_setnice.te \ - test_sigkill.te test_stat.te test_sysctl.te test_task_create.te \ - test_task_getpgid.te test_task_getsched.te test_task_getsid.te \ - test_task_setpgid.te test_task_setsched.te test_transition.te test_wait.te -endif - -ifeq (redhat-release-5, $(findstring redhat-release-5, $(REDHAT_RELEASE))) - TARGETS=test_global.te test_capable_file.te test_capable_net.te \ - test_capable_sys.te test_dyntrace.te test_dyntrans.te test_entrypoint.te \ - test_execshare.te test_exectrace.te test_execute_no_trans.te \ - test_fdreceive.te test_file.te test_inherit.te test_ioctl.te test_ipc.te \ - test_link.te test_mkdir.te test_open.te test_ptrace.te test_readlink.te \ - test_relabel.te test_rename.te test_rxdir.te test_setattr.te test_setnice.te \ - test_sigkill.te test_stat.te test_sysctl.te test_task_create.te \ - test_task_getpgid.te test_task_getsched.te test_task_getsid.te \ - test_task_setpgid.te test_task_setsched.te test_transition.te test_wait.te -endif - load: @if [ -d $(POLICYDEVEL) ]; then \ set -e; rm -f test_policy.te; for i in $(TARGETS); do cat $$i >> test_policy.te; done; \ -- Stephen Smalley National Security Agency ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
