From 1929b611ed6f4de6e66fe043e53b9909bf5636e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 3 Dec 2013 13:36:10 +0100 Subject: [PATCH] - 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=$? -- 2.44.0