X-Git-Url: https://git.tld-linux.org/?p=packages%2Fcoreutils.git;a=blobdiff_plain;f=tests.patch;fp=tests.patch;h=89d7b60ee8b7eab938f90166e65f0f02a4dae6ac;hp=ba90631a4a1f24503651ea84fa3bb5510dd1eb9a;hb=c477e37d8b0e19395482a58f13ef4950a99f705d;hpb=e9be8aa940d70850d4866d6e07d952a17bdc4db3 diff --git a/tests.patch b/tests.patch index ba90631..89d7b60 100644 --- a/tests.patch +++ b/tests.patch @@ -109,9 +109,9 @@ if test $double_slash = //; then test "$out" = "/$nl//" || fail=1 else ---- coreutils-8.23/tests/misc/nohup.sh.orig 2014-07-20 19:03:44.627770671 +0200 -+++ coreutils-8.23/tests/misc/nohup.sh 2014-07-20 19:10:31.097753613 +0200 -@@ -61,23 +61,23 @@ +--- coreutils-8.26/tests/misc/nohup.sh.orig 2017-02-08 09:53:48.584528406 +0000 ++++ coreutils-8.26/tests/misc/nohup.sh 2017-02-08 09:55:18.087527399 +0000 +@@ -61,22 +61,22 @@ # Bug present through coreutils 8.0: failure to print advisory message # to stderr must be fatal. Requires stdout to be terminal. @@ -124,8 +124,7 @@ - - exec >/dev/tty - test -t 1 || exit 0 -- nohup echo hi 2> /dev/full -- test $? = 125 || fail=1 +- returns_ 125 nohup echo hi 2> /dev/full || fail=1 - test -f nohup.out || fail=1 - compare /dev/null nohup.out || fail=1 - rm -f nohup.out @@ -141,8 +140,7 @@ +# +# exec >/dev/tty +# test -t 1 || exit 0 -+# nohup echo hi 2> /dev/full -+# test $? = 125 || fail=1 ++# returns_ 125 nohup echo hi 2> /dev/full || fail=1 +# test -f nohup.out || fail=1 +# compare /dev/null nohup.out || fail=1 +# rm -f nohup.out