[packages/coreutils] - disable all tests that involve ctime

baggins baggins at pld-linux.org
Tue Dec 3 14:40:53 CET 2013


commit 91d1b03f815dce41c1e076dcc4ff686f4d6ba383
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Dec 3 14:40:42 2013 +0100

    - disable all tests that involve ctime

 tests.patch | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
---
diff --git a/tests.patch b/tests.patch
index 91e307e..26d4775 100644
--- a/tests.patch
+++ b/tests.patch
@@ -164,3 +164,57 @@
  /* Skip ctime tests on native Windows, since it is either a copy of
     mtime or birth time (depending on the file system), rather than a
     properly tracked change time.  */
+--- coreutils-8.21/gnulib-tests/test-stat-time.c~	2013-01-02 13:34:46.000000000 +0100
++++ coreutils-8.21/gnulib-tests/test-stat-time.c	2013-12-03 14:39:35.423872940 +0100
+@@ -184,7 +184,7 @@
+     }
+ }
+ 
+-#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
++#if 1
+ /* Skip the ctime tests on native Windows platforms, because their
+    st_ctime is either the same as st_mtime (plus or minus an offset)
+    or set to the file _creation_ time, and is not influenced by rename
+--- coreutils-8.21/gnulib-tests/gnulib.mk~	2013-02-07 17:58:44.000000000 +0100
++++ coreutils-8.21/gnulib-tests/gnulib.mk	2013-12-03 14:40:18.667641475 +0100
+@@ -259,9 +259,9 @@
+ 
+ ## begin gnulib module chown-tests
+ 
+-TESTS += test-chown
+-check_PROGRAMS += test-chown
+-EXTRA_DIST += nap.h test-chown.h test-chown.c signature.h macros.h
++#TESTS += test-chown
++#check_PROGRAMS += test-chown
++#EXTRA_DIST += nap.h test-chown.h test-chown.c signature.h macros.h
+ 
+ ## end   gnulib module chown-tests
+ 
+@@ -457,10 +457,10 @@
+ 
+ ## begin gnulib module fchownat-tests
+ 
+-TESTS += test-fchownat
+-check_PROGRAMS += test-fchownat
+-test_fchownat_LDADD = $(LDADD) @LIBINTL@
+-EXTRA_DIST += nap.h test-chown.h test-lchown.h test-fchownat.c signature.h macros.h
++#TESTS += test-fchownat
++#check_PROGRAMS += test-fchownat
++#test_fchownat_LDADD = $(LDADD) @LIBINTL@
++#EXTRA_DIST += nap.h test-chown.h test-lchown.h test-fchownat.c signature.h macros.h
+ 
+ ## end   gnulib module fchownat-tests
+ 
+@@ -1102,9 +1102,9 @@
+ 
+ ## begin gnulib module lchown-tests
+ 
+-TESTS += test-lchown
+-check_PROGRAMS += test-lchown
+-EXTRA_DIST += nap.h test-lchown.h test-lchown.c signature.h macros.h
++#TESTS += test-lchown
++#check_PROGRAMS += test-lchown
++#EXTRA_DIST += nap.h test-lchown.h test-lchown.c signature.h macros.h
+ 
+ ## end   gnulib module lchown-tests
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/coreutils.git/commitdiff/91d1b03f815dce41c1e076dcc4ff686f4d6ba383



More information about the pld-cvs-commit mailing list