packages: coreutils/coreutils.spec - tests: misc/fmt: disable just the brok...

glen glen at pld-linux.org
Sun Apr 3 22:21:48 CEST 2011


Author: glen                         Date: Sun Apr  3 20:21:48 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- tests: misc/fmt: disable just the broken test
- gnulib-tests: do not use /etc/resolv.conf for read test
- make -j1 for racy tests

---- Files affected:
packages/coreutils:
   coreutils.spec (1.173 -> 1.174) 

---- Diffs:

================================================================
Index: packages/coreutils/coreutils.spec
diff -u packages/coreutils/coreutils.spec:1.173 packages/coreutils/coreutils.spec:1.174
--- packages/coreutils/coreutils.spec:1.173	Sun Apr  3 21:34:24 2011
+++ packages/coreutils/coreutils.spec	Sun Apr  3 22:21:42 2011
@@ -141,8 +141,10 @@
 # fails under C locale:
 # LC_ALL=C echo -e "ça\nçb\n"|LC_ALL=C fmt -p 'ç'
 # fmt: memory exhausted
-%{__rm} tests/misc/fmt
-%{__sed} -i -e '/misc\/fmt/d' tests/Makefile.am
+%{__sed} -i -e 25,27d tests/misc/fmt
+
+# /etc/resolv.conf is blocked in pld builders, try some other file
+%{__sed} -i -e 's,/etc/resolv.conf,/etc/hosts,' gnulib-tests/test-read-file.c
 
 # getgid needs to be fixed:
 # getgid: missing operand
@@ -150,11 +152,6 @@
 %{__rm} tests/misc/help-version
 %{__sed} -i -e '/misc\/help-version/d' tests/Makefile.am
 
-# broken (racy?)
-# +du: fts_read failed: T/U/3/a/b: No such file or directory
-%{__rm} tests/du/move-dir-while-traversing
-%{__sed} -i -e '/du\/move-dir-while-traversing/d' tests/Makefile.am
-
 %build
 %{__gettextize}
 %{__aclocal} -I m4
@@ -171,7 +168,7 @@
 
 %{__make}
 
-%{?with_tests:%{__make} tests check}
+%{?with_tests:%{__make} -j1 tests check}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -261,6 +258,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.174  2011/04/03 20:21:42  glen
+- tests: misc/fmt: disable just the broken test
+- gnulib-tests: do not use /etc/resolv.conf for read test
+- make -j1 for racy tests
+
 Revision 1.173  2011/04/03 19:34:24  glen
 - fix runuser test (updated from fedora)
 - disable some other broken tests
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/coreutils/coreutils.spec?r1=1.173&r2=1.174&f=u



More information about the pld-cvs-commit mailing list