[packages/coreutils] - no /dev on builders - rel 3

baggins baggins at pld-linux.org
Tue Dec 3 13:36:41 CET 2013


commit 1929b611ed6f4de6e66fe043e53b9909bf5636e2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Dec 3 13:36:10 2013 +0100

    - no /dev on builders
    - rel 3

 coreutils.spec |  2 +-
 tests.patch    | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 1 deletion(-)
---
diff --git a/coreutils.spec b/coreutils.spec
index 0d4a971..d58828a 100644
--- a/coreutils.spec
+++ b/coreutils.spec
@@ -7,7 +7,7 @@ Summary:	GNU Core-utils - basic command line utilities
 Summary(pl.UTF-8):	GNU Core-utils - podstawowe narzędzia działające z linii poleceń
 Name:		coreutils
 Version:	8.21
-Release:	2
+Release:	3
 License:	GPL v3+
 Group:		Applications/System
 Source0:	http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.xz
diff --git a/tests.patch b/tests.patch
index d22f8a8..0928479 100644
--- a/tests.patch
+++ b/tests.patch
@@ -120,3 +120,36 @@
  if test $double_slash = //; then
    test "$out" = "/$nl//" || fail=1
  else
+--- coreutils-8.21/tests/misc/nohup.sh~	2013-01-31 01:46:24.000000000 +0100
++++ coreutils-8.21/tests/misc/nohup.sh	2013-12-03 13:35:51.952568924 +0100
+@@ -61,18 +61,18 @@
+ 
+ # Bug present through coreutils 8.0: failure to print advisory message
+ # to stderr must be fatal.  Requires stdout to be terminal.
+-if test -w /dev/full && test -c /dev/full; then
+-(
+-  exec >/dev/tty
+-  test -t 1 || exit 0
+-  nohup echo hi 2> /dev/full
+-  test $? = 125 || fail=1
+-  test -f nohup.out || fail=1
+-  test -s nohup.out && fail=1
+-  rm -f nohup.out
+-  exit $fail
+-) || fail=1
+-fi
++#if test -w /dev/full && test -c /dev/full; then
++#(
++#  exec >/dev/tty
++#  test -t 1 || exit 0
++#  nohup echo hi 2> /dev/full
++#  test $? = 125 || fail=1
++#  test -f nohup.out || fail=1
++#  test -s nohup.out && fail=1
++#  rm -f nohup.out
++#  exit $fail
++#) || fail=1
++#fi
+ 
+ nohup no-such-command 2> err
+ errno=$?
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/coreutils.git/commitdiff/1929b611ed6f4de6e66fe043e53b9909bf5636e2



More information about the pld-cvs-commit mailing list