]> TLD Linux GIT Repositories - packages/coreutils.git/blobdiff - tests.patch
- updated to 8.26
[packages/coreutils.git] / tests.patch
index ba90631a4a1f24503651ea84fa3bb5510dd1eb9a..89d7b60ee8b7eab938f90166e65f0f02a4dae6ac 100644 (file)
  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.
 -
 -  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
 +#
 +#  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