Mike Frysinger <[EMAIL PROTECTED]> wrote:

> On Monday 08 October 2007, Jim Meyering wrote:
>> Mike Frysinger <[EMAIL PROTECTED]> wrote:
>> > chcon fails on my non-selinux system during `make check` ... looks like
>> > it should be an XFAIL when selinux support is disabled
>>
>> Thanks for the quick feedback.
>> I presume you mean the root-only tests/misc/chcon test
>
> yep
>
>> (btw, it works for
>> me) If so, please send chcon.log after doing this as root:
>>
>>     cd tests/misc && make check TESTS=chcon VERBOSE=yes
>
> attached

This ought to make it skip:

diff --git a/tests/misc/chcon b/tests/misc/chcon
index 46aaf87..851b415 100755
--- a/tests/misc/chcon
+++ b/tests/misc/chcon
@@ -6,6 +6,7 @@ if test "$VERBOSE" = yes; then
   chcon --version
 fi

+. $srcdir/../selinux
 . $srcdir/../lang-default
 PRIV_CHECK_ARG=require-root . $srcdir/../priv-check
 . $srcdir/../test-lib.sh


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to