libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.2.10-2-g1501797


From: Peter O'Gorman
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-2-g1501797
Date: Wed, 09 Jun 2010 16:46:30 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  15017972c5e7001f3acfee96f74507474f95cdb5 (commit)
      from  d18372c98ae0440183f1f207c19947f874ec35c0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 15017972c5e7001f3acfee96f74507474f95cdb5
Author: Peter O'Gorman <address@hidden>
Date:   Wed Jun 9 11:45:51 2010 -0500

    Skip demo-nopic tests if SELinux policy will cause failure.
    
    * tests/demo-nopic.test: Check SELinux policy and skip if
    necessary.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    6 ++++++
 tests/demo-nopic.test |   16 +++++++++++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a7967b3..78b5d7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-09  Peter O'Gorman  <address@hidden>
+
+       Skip demo-nopic tests if SELinux policy will cause failure.
+       * tests/demo-nopic.test: Check SELinux policy and skip if
+       necessary.
+
 2010-06-09  Gary V. Vaughan  <address@hidden>
 
        Set SCM version number to 2.2.11a.
diff --git a/tests/demo-nopic.test b/tests/demo-nopic.test
index 11e5c16..acceca6 100755
--- a/tests/demo-nopic.test
+++ b/tests/demo-nopic.test
@@ -1,7 +1,7 @@
 #! /bin/sh
 # demo-nopic.test - try configuring the ../demo subdirectory
 #
-#   Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+#   Copyright (C) 2003, 2004, 2010 Free Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2003
 #
 #   This file is part of GNU Libtool.
@@ -34,6 +34,20 @@ hppa*|x86_64*|s390*)
        ;;
 esac
 
+if test "$build" = "$host" && test -d "/etc/selinux"; then
+       _selinux=`getenforce 2>/dev/null || echo "Disabled"`
+       case "${_selinux}" in
+       *Enforcing)
+               _sebool_allow_execmod=`getsebool allow_execmod 2>/dev/null`
+               case "${_sebool_allow_execmod}" in
+                       *off)
+                               func_skip "SELinux policy disallows"
+                               ;;
+               esac
+               ;;
+       esac
+fi
+
 func_rmprefixdir
 func_cd "tests/demo"
 func_make_distclean


hooks/post-receive
-- 
GNU Libtool



reply via email to

[Prev in Thread] Current Thread [Next in Thread]