Ondřej Vašík 4c4be9
diff -urNp coreutils-8.21-orig/gnulib-tests/gnulib.mk coreutils-8.21/gnulib-tests/gnulib.mk
Ondřej Vašík 4c4be9
--- coreutils-8.21-orig/gnulib-tests/gnulib.mk	2013-02-07 17:58:44.000000000 +0100
Ondřej Vašík 4c4be9
+++ coreutils-8.21/gnulib-tests/gnulib.mk	2013-02-15 10:12:28.110593165 +0100
Kamil Dudka d3849c
@@ -279,9 +279,9 @@ EXTRA_DIST += nap.h test-chown.h test-chown.c signature.h macros.h
Ondrej Vasik 422af9
 
Ondrej Vasik 422af9
 ## begin gnulib module cloexec-tests
Ondrej Vasik 422af9
 
Ondrej Vasik 422af9
-TESTS += test-cloexec
Ondrej Vasik 422af9
-check_PROGRAMS += test-cloexec
Ondrej Vasik dc24bf
-EXTRA_DIST += test-cloexec.c macros.h
Ondrej Vasik 422af9
+#TESTS += test-cloexec
Ondrej Vasik 422af9
+#check_PROGRAMS += test-cloexec
Ondrej Vasik dc24bf
+#EXTRA_DIST += test-cloexec.c macros.h
Ondrej Vasik 422af9
 
Ondrej Vasik 422af9
 ## end   gnulib module cloexec-tests
Ondrej Vasik 422af9
 
Kamil Dudka d3849c
@@ -392,9 +392,9 @@ EXTRA_DIST += test-dup.c signature.h macros.h
Ondrej Vasik 422af9
 
Ondrej Vasik 422af9
 ## begin gnulib module dup2-tests
Ondrej Vasik 422af9
 
Ondrej Vasik 422af9
-TESTS += test-dup2
Ondrej Vasik 422af9
-check_PROGRAMS += test-dup2
Ondrej Vasik dc24bf
-EXTRA_DIST += test-dup2.c signature.h macros.h
Ondrej Vasik 422af9
+#TESTS += test-dup2
Ondrej Vasik 422af9
+#check_PROGRAMS += test-dup2
Ondrej Vasik dc24bf
+#EXTRA_DIST += test-dup2.c signature.h macros.h
Ondrej Vasik 422af9
 
Ondrej Vasik 422af9
 ## end   gnulib module dup2-tests
Ondrej Vasik 422af9
 
Kamil Dudka d3849c
@@ -453,10 +453,10 @@ EXTRA_DIST += test-fadvise.c
Ondrej Vasik 422af9
 
Ondrej Vasik 422af9
 ## begin gnulib module fchdir-tests
Ondrej Vasik 422af9
 
Ondrej Vasik 422af9
-TESTS += test-fchdir
Ondrej Vasik 422af9
-check_PROGRAMS += test-fchdir
Ondřej Vašík 59d906
-test_fchdir_LDADD = $(LDADD) $(LIBINTL)
Ondrej Vasik dc24bf
-EXTRA_DIST += test-fchdir.c signature.h macros.h
Ondrej Vasik 422af9
+#TESTS += test-fchdir
Ondrej Vasik 422af9
+#check_PROGRAMS += test-fchdir
Ondřej Vašík 59d906
+#test_fchdir_LDADD = $(LDADD) $(LIBINTL)
Ondrej Vasik dc24bf
+#EXTRA_DIST += test-fchdir.c signature.h macros.h
Ondrej Vasik 422af9
 
Ondrej Vasik 422af9
 ## end   gnulib module fchdir-tests
Ondrej Vasik 422af9
 
Kamil Dudka d3849c
@@ -900,9 +900,9 @@ EXTRA_DIST += test-getloadavg.c signature.h
Ondřej Vašík 5580b5
 
Ondřej Vašík 5580b5
 ## begin gnulib module getlogin-tests
Ondřej Vašík 5580b5
 
Ondřej Vašík 5580b5
-TESTS += test-getlogin
Ondřej Vašík 5580b5
-check_PROGRAMS += test-getlogin
Ondřej Vašík 5580b5
-EXTRA_DIST += test-getlogin.c signature.h macros.h
Ondřej Vašík 5580b5
+#TESTS += test-getlogin
Ondřej Vašík 5580b5
+#check_PROGRAMS += test-getlogin
Ondřej Vašík 5580b5
+#EXTRA_DIST += test-getlogin.c signature.h macros.h
Ondřej Vašík 5580b5
 
Ondřej Vašík 5580b5
 ## end   gnulib module getlogin-tests
Ondřej Vašík edc2e6
 
Kamil Dudka d3849c
@@ -1147,10 +1147,10 @@ EXTRA_DIST += test-link.h test-link.c signature.h macros.h
Ondrej Vasik c6e08c
 
Ondrej Vasik c6e08c
 ## begin gnulib module linkat-tests
Ondrej Vasik c6e08c
 
Ondrej Vasik c6e08c
-TESTS += test-linkat
Ondrej Vasik c6e08c
-check_PROGRAMS += test-linkat
Ondrej Vasik c6e08c
-test_linkat_LDADD = $(LDADD) @LIBINTL@
Ondrej Vasik c6e08c
-EXTRA_DIST += test-link.h test-linkat.c signature.h macros.h
Ondrej Vasik c6e08c
+#TESTS += test-linkat
Ondrej Vasik c6e08c
+#check_PROGRAMS += test-linkat
Ondrej Vasik c6e08c
+#test_linkat_LDADD = $(LDADD) @LIBINTL@
Ondrej Vasik c6e08c
+#EXTRA_DIST += test-link.h test-linkat.c signature.h macros.h
Ondrej Vasik c6e08c
 
Ondrej Vasik c6e08c
 ## end   gnulib module linkat-tests
Ondrej Vasik c6e08c
 
Kamil Dudka d3849c
@@ -1359,9 +1359,9 @@ EXTRA_DIST += test-memcoll.c macros.h
Ondřej Vašík 240f40
 
Ondřej Vašík 240f40
 ## begin gnulib module memrchr-tests
Ondřej Vašík 240f40
 
Ondřej Vašík cdb160
-TESTS += test-memrchr
Ondřej Vašík cdb160
-check_PROGRAMS += test-memrchr
Ondřej Vašík cdb160
-EXTRA_DIST += test-memrchr.c zerosize-ptr.h signature.h macros.h
Ondřej Vašík cdb160
+#TESTS += test-memrchr
Ondřej Vašík cdb160
+#check_PROGRAMS += test-memrchr
Ondřej Vašík cdb160
+#EXTRA_DIST += test-memrchr.c zerosize-ptr.h signature.h macros.h
Ondřej Vašík 240f40
 
Ondřej Vašík 240f40
 ## end   gnulib module memrchr-tests
Ondřej Vašík 240f40
 
Kamil Dudka d3849c
@@ -1912,9 +1912,9 @@ EXTRA_DIST += test-statat.c
Ondřej Vašík 29106a
 
Ondřej Vašík 29106a
 ## begin gnulib module stdalign-tests
Ondřej Vašík 29106a
 
Ondřej Vašík 29106a
-TESTS += test-stdalign
Ondřej Vašík 29106a
-check_PROGRAMS += test-stdalign
Ondřej Vašík 29106a
-EXTRA_DIST += test-stdalign.c macros.h
Ondřej Vašík 29106a
+#TESTS += test-stdalign
Ondřej Vašík 29106a
+#check_PROGRAMS += test-stdalign
Ondřej Vašík 29106a
+#EXTRA_DIST += test-stdalign.c macros.h
Ondřej Vašík 29106a
 
Ondřej Vašík 29106a
 ## end   gnulib module stdalign-tests
Ondřej Vašík 29106a
 
Kamil Dudka d3849c
@@ -2269,9 +2269,9 @@ EXTRA_DIST += test-uname.c signature.h macros.h
Ondrej Vasik 422af9
 
Ondrej Vasik 422af9
 ## begin gnulib module unistd-safer-tests
Ondrej Vasik 422af9
 
Ondrej Vasik 422af9
-TESTS += test-dup-safer
Ondrej Vasik 422af9
-check_PROGRAMS += test-dup-safer
Ondrej Vasik dc24bf
-EXTRA_DIST += test-dup-safer.c macros.h
Ondrej Vasik 422af9
+#TESTS += test-dup-safer
Ondrej Vasik 422af9
+#check_PROGRAMS += test-dup-safer
Ondrej Vasik dc24bf
+#EXTRA_DIST += test-dup-safer.c macros.h
Ondrej Vasik 422af9
 
Ondrej Vasik 422af9
 ## end   gnulib module unistd-safer-tests
Ondrej Vasik 422af9
 
Kamil Dudka d3849c
@@ -2367,10 +2367,10 @@ EXTRA_DIST += test-userspec.c
Ondrej Vasik 182b08
 
Ondrej Vasik 182b08
 ## begin gnulib module utimens-tests
Ondrej Vasik 182b08
 
Ondrej Vasik 182b08
-TESTS += test-utimens
Ondrej Vasik 182b08
-check_PROGRAMS += test-utimens
Ondřej Vašík bb33bc
-test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@
Ondrej Vasik 182b08
-EXTRA_DIST += nap.h test-futimens.h test-lutimens.h test-utimens.h test-utimens-common.h test-utimens.c macros.h
Ondrej Vasik 182b08
+#TESTS += test-utimens
Ondrej Vasik 182b08
+#check_PROGRAMS += test-utimens
Ondřej Vašík bb33bc
+#test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@
Ondrej Vasik 182b08
+#EXTRA_DIST += nap.h test-futimens.h test-lutimens.h test-utimens.h test-utimens-common.h test-utimens.c macros.h
Ondrej Vasik 182b08
 
Ondrej Vasik 182b08
 ## end   gnulib module utimens-tests
Ondrej Vasik 182b08
 
Ondřej Vašík 4c4be9
diff -urNp coreutils-8.21-orig/tests/local.mk coreutils-8.21/tests/local.mk
Ondřej Vašík 4c4be9
--- coreutils-8.21-orig/tests/local.mk	2013-02-11 11:30:12.000000000 +0100
Ondřej Vašík 4c4be9
+++ coreutils-8.21/tests/local.mk	2013-02-15 10:10:55.890532258 +0100
Kamil Dudka d3849c
@@ -134,6 +134,7 @@ all_root_tests =				\
Ondřej Vašík c9e9ec
   tests/rm/no-give-up.sh			\
Ondřej Vašík c9e9ec
   tests/rm/one-file-system.sh			\
Ondřej Vašík c9e9ec
   tests/rm/read-only.sh				\
Ondřej Vašík c9e9ec
+  tests/tail-2/inotify-hash-abuse.sh		\
Ondřej Vašík c9e9ec
   tests/tail-2/append-only.sh			\
Ondřej Vašík c9e9ec
   tests/touch/now-owned-by-other.sh
Ondřej Vašík c9e9ec
 
Kamil Dudka d3849c
@@ -168,7 +169,6 @@ all_tests =					\
Ondřej Vašík c9e9ec
   tests/cp/link-heap.sh				\
Ondřej Vašík 55f7ec
   tests/cp/no-ctx.sh				\
Ondřej Vašík c9e9ec
   tests/misc/tty-eof.pl				\
Ondřej Vašík c9e9ec
-  tests/tail-2/inotify-hash-abuse.sh		\
Ondřej Vašík c9e9ec
   tests/tail-2/inotify-hash-abuse2.sh		\
Ondřej Vašík c9e9ec
   tests/tail-2/F-vs-missing.sh			\
Ondřej Vašík c9e9ec
   tests/tail-2/F-vs-rename.sh			\
Ondřej Vašík 4c4be9
diff -urNp coreutils-8.21-orig/tests/touch/no-dereference.sh coreutils-8.21/tests/touch/no-dereference.sh
Ondřej Vašík 4c4be9
--- coreutils-8.21-orig/tests/touch/no-dereference.sh	2013-01-31 01:46:25.000000000 +0100
Ondřej Vašík 4c4be9
+++ coreutils-8.21/tests/touch/no-dereference.sh	2013-02-15 10:10:55.889593383 +0100
Ondřej Vašík 4c4be9
@@ -42,6 +42,8 @@ test -f nowhere && fail=1
Ondřej Vašík 4c4be9
 grep '^#define HAVE_UTIMENSAT 1' "$CONFIG_HEADER" > /dev/null ||
Ondřej Vašík 4c4be9
 grep '^#define HAVE_LUTIMES 1' "$CONFIG_HEADER" > /dev/null ||
Ondřej Vašík 4c4be9
   skip_ 'this system lacks the utimensat function'
Ondřej Vašík 4c4be9
+grep '^#define HAVE_WORKINGKOJI 1' "$CONFIG_HEADER" > /dev/null ||
Ondřej Vašík 4c4be9
+  skip_ 'rest of the test disabled due to koji lack of utimensat function'
Ondřej Vašík 4c4be9
 
Ondřej Vašík 4c4be9
 # Changing time of dangling symlink is okay.
Ondřej Vašík 4c4be9
 # Skip the test if this fails, but the error text corresponds to
Ondřej Vašík 156e6c
diff -urNp coreutils-8.22-orig/tests/misc/nohup.sh coreutils-8.22/tests/misc/nohup.sh
Ondřej Vašík 156e6c
--- coreutils-8.22-orig/tests/misc/nohup.sh	2013-12-04 15:48:30.000000000 +0100
Ondřej Vašík 156e6c
+++ coreutils-8.22/tests/misc/nohup.sh	2014-03-02 21:51:01.972887749 +0100
Ondřej Vašík 156e6c
@@ -19,6 +19,8 @@
Ondřej Vašík 156e6c
 . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
Ondřej Vašík 156e6c
 print_ver_ nohup
Ondřej Vašík 156e6c
 
Ondřej Vašík 156e6c
+#mark it expensive, to temporarily skip the test in koji
Ondřej Vašík 156e6c
+expensive_
Ondřej Vašík 156e6c
 
Ondřej Vašík 156e6c
 nohup sh -c 'echo stdout; echo stderr 1>&2' 2>err || fail=1
Ondřej Vašík 156e6c
 
Ondřej Vašík f5e87b
diff -urNp coreutils-8.23-orig/tests/df/skip-duplicates.sh coreutils-8.23/tests/df/skip-duplicates.sh
Ondřej Vašík f5e87b
--- coreutils-8.23-orig/tests/df/skip-duplicates.sh	2014-07-14 00:09:52.000000000 +0200
Ondřej Vašík f5e87b
+++ coreutils-8.23/tests/df/skip-duplicates.sh	2014-07-24 15:53:33.473031545 +0200
Ondřej Vašík f5e87b
@@ -25,6 +25,10 @@ require_gcc_shared_
Ondřej Vašík f5e87b
 # potentially very many remote mounts.
Ondřej Vašík 3775f4
 df --local || skip_ 'df fails'
Ondřej Vašík f5e87b
 
Ondřej Vašík f5e87b
+#mark it expensive, to temporarily skip the test in koji
Ondřej Vašík f5e87b
+expensive_
Ondřej Vašík f5e87b
+
Ondřej Vašík f5e87b
+
Ondřej Vašík f5e87b
 export CU_NONROOT_FS=$(df --local --output=target 2>&1 | grep /. | head -n1)
Ondřej Vašík 3775f4
 export CU_REMOTE_FS=$(df --local --output=target 2>&1 | grep /. |
Ondřej Vašík 3775f4
                       tail -n+2 | head -n1)
Ondřej Vašík f7c868
diff -urNp coreutils-8.23-orig/man/local.mk coreutils-8.23/man/local.mk
Ondřej Vašík f7c868
--- coreutils-8.23-orig/man/local.mk	2014-07-18 03:40:57.000000000 +0200
Ondřej Vašík f7c868
+++ coreutils-8.23/man/local.mk	2014-08-05 12:18:20.477524009 +0200
Ondřej Vašík f7c868
@@ -41,7 +41,7 @@ distclean-local:
Ondřej Vašík f7c868
 	test x$(srcdir) = x$(builddir) || rm -f $(ALL_MANS)
Ondřej Vašík f7c868
 
Ondřej Vašík f7c868
 # Dependencies common to all man pages.  Updated below.
Ondřej Vašík f7c868
-mandeps =
Ondřej Vašík f7c868
+mandeps = $(PROGRAMS)
Ondřej Vašík f7c868
 
Ondřej Vašík f7c868
 # Depend on this to get version number changes.
Ondřej Vašík f7c868
 mandeps += .version