rpms/coreutils/devel coreutils-6.10-configuration.patch, 1.6, 1.7 coreutils.spec, 1.210, 1.211

Ondrej Vasik (ovasik) fedora-extras-commits at redhat.com
Thu Apr 24 14:58:13 UTC 2008


Author: ovasik

Update of /cvs/extras/rpms/coreutils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19774

Modified Files:
	coreutils-6.10-configuration.patch coreutils.spec 
Log Message:
make id-context test executable, few diagnostics added temporarily to failing no-create-missing touch test

coreutils-6.10-configuration.patch:

Index: coreutils-6.10-configuration.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-6.10-configuration.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- coreutils-6.10-configuration.patch	23 Apr 2008 09:58:23 -0000	1.6
+++ coreutils-6.10-configuration.patch	24 Apr 2008 14:57:35 -0000	1.7
@@ -1,3 +1,15 @@
+diff -urNp coreutils-6.11-orig/tests/touch/no-create-missing coreutils-6.11/tests/touch/no-create-missing
+--- coreutils-6.11-orig/tests/touch/no-create-missing	2008-04-19 23:34:23.000000000 +0200
++++ coreutils-6.11/tests/touch/no-create-missing	2008-04-24 12:34:52.000000000 +0200
+@@ -36,7 +36,7 @@ test="$abs_top_builddir/src/test"
+ # This test is ineffective unless /dev/stdout also works.
+ if "$test" -w /dev/stdout >/dev/null &&
+    "$test" ! -w /dev/stdout >&-; then
+-  touch -c - >&- 2> /dev/null || fail=1
++  strace touch -c - >&- || fail=1
+   touch -cm - >&- 2> /dev/null || fail=1
+   touch -ca - >&- 2> /dev/null || fail=1
+ fi
 diff -urNp coreutils-6.11-orig/tests/mkdir/selinux coreutils-6.11/tests/mkdir/selinux
 --- coreutils-6.11-orig/tests/mkdir/selinux	2008-04-19 23:34:23.000000000 +0200
 +++ coreutils-6.11/tests/mkdir/selinux	2008-04-22 13:23:50.000000000 +0200
@@ -9,20 +21,20 @@
  
  c=invalid-selinux-context
  msg="failed to set default file creation context to \`$c':"
-diff -urNp coreutils-6.11-orig/tests/misc/runcon-no-reorder coreutils-6.11/tests/misc/runcon-no-reorder
---- coreutils-6.11-orig/tests/misc/runcon-no-reorder	2008-04-19 23:34:23.000000000 +0200
-+++ coreutils-6.11/tests/misc/runcon-no-reorder	2008-04-22 12:27:42.000000000 +0200
-@@ -34,8 +34,8 @@ fail=0
- # On such a system it fails with the above diagnostic, which is fine.
- # Before the no-reorder change, it would have failed with a diagnostic
- # about -j being an invalid option.
--runcon $(id -Z) true -j 2> out && : > exp
-+#runcon $(id -Z) true -j 2> out && : > exp
+diff -urNp coreutils-6.11-orig/tests/test-lib.sh coreutils-6.11/tests/test-lib.sh
+--- coreutils-6.11-orig/tests/test-lib.sh	2008-04-19 23:34:23.000000000 +0200
++++ coreutils-6.11/tests/test-lib.sh	2008-04-24 14:18:59.000000000 +0200
+@@ -97,8 +97,8 @@ skip_if_()
  
--compare out exp || fail=1
-+#compare out exp || fail=1
- 
- (exit $fail); exit $fail
+ require_selinux_()
+ {
+-  case `ls -Zd .` in
+-    '? .'|'unlabeled .')
++  case `ls --scontext -d . | cut -f1 -d" "` in
++    '?'|'unlabeled')
+       skip_test_ "this system (or maybe just" \
+         "the current file system) lacks SELinux support"
+     ;;
 diff -urp coreutils-6.11-orig/gnulib-tests/test-getaddrinfo.c coreutils-6.11/gnulib-tests/test-getaddrinfo.c
 --- coreutils-6.11-orig/gnulib-tests/test-getaddrinfo.c
 +++ coreutils-6.11/gnulib-tests/test-getaddrinfo.c


Index: coreutils.spec
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils.spec,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -r1.210 -r1.211
--- coreutils.spec	23 Apr 2008 15:27:30 -0000	1.210
+++ coreutils.spec	24 Apr 2008 14:57:35 -0000	1.211
@@ -58,6 +58,7 @@
 BuildRequires: texinfo >= 4.3
 BuildRequires: lzma
 BuildRequires: autoconf >= 2.58
+BuildRequires: strace
 #dist-lzma required
 BuildRequires: automake >= 1.10.1 
 %{?!nopam:BuildRequires: pam-devel}
@@ -130,6 +131,7 @@
 %patch951 -p1 -b .selinuxman
 
 chmod a+x tests/sort/sort-mb-tests
+chmod a+x tests/misc/id-context
 
 #fix typos/mistakes in localized documentation(#439410, #440056)
 for pofile in $(find ./po/*.p*)




More information about the fedora-extras-commits mailing list