]> git.pld-linux.org Git - packages/coreutils.git/commitdiff
- tests: misc/fmt: disable just the broken test
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 3 Apr 2011 20:21:42 +0000 (20:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- gnulib-tests: do not use /etc/resolv.conf for read test
- make -j1 for racy tests

Changed files:
    coreutils.spec -> 1.174

coreutils.spec

index f3b0546078a9e0ca83869eafad17c6b0060fd744..220f8b5c1cb854e190f541f3a91a8e1ffaa0e965 100644 (file)
@@ -140,8 +140,10 @@ Programy zawarte w tym pakiecie to:
 # fails under C locale:
 # LC_ALL=C echo -e "ça\nçb\n"|LC_ALL=C fmt -p 'ç'
 # fmt: memory exhausted
 # 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
 
 # getgid needs to be fixed:
 # getgid: missing operand
@@ -149,11 +151,6 @@ Programy zawarte w tym pakiecie to:
 %{__rm} tests/misc/help-version
 %{__sed} -i -e '/misc\/help-version/d' tests/Makefile.am
 
 %{__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
 %build
 %{__gettextize}
 %{__aclocal} -I m4
@@ -170,7 +167,7 @@ Programy zawarte w tym pakiecie to:
 
 %{__make}
 
 
 %{__make}
 
-%{?with_tests:%{__make} tests check}
+%{?with_tests:%{__make} -j1 tests check}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.102417 seconds and 4 git commands to generate.