gnu: coreutils: Update broken tests for the Hurd.
* gnu/packages/base.scm (coreutils)[arguments]: When compiling for the Hurd, remove hanging "timeout-group" test. Remove tests "shred-passes", "l-chunk" and "stats" from XFAIL_TESTS, they pass now.
This commit is contained in:
parent
416439263c
commit
c00564192a
1 changed files with 9 additions and 4 deletions
|
@ -342,10 +342,7 @@ used to apply commands with arbitrarily long arguments.")
|
||||||
(list (string-append "XFAIL_TESTS=tests/misc/env-S.pl"
|
(list (string-append "XFAIL_TESTS=tests/misc/env-S.pl"
|
||||||
" tests/misc/kill.sh"
|
" tests/misc/kill.sh"
|
||||||
" tests/misc/nice.sh"
|
" tests/misc/nice.sh"
|
||||||
" tests/misc/shred-passes.sh"
|
|
||||||
" tests/split/fail.sh"
|
" tests/split/fail.sh"
|
||||||
" tests/split/l-chunk.sh"
|
|
||||||
" tests/dd/stats.sh"
|
|
||||||
" test-fdutimensat"
|
" test-fdutimensat"
|
||||||
" test-futimens"
|
" test-futimens"
|
||||||
" test-linkat"
|
" test-linkat"
|
||||||
|
@ -365,7 +362,15 @@ used to apply commands with arbitrarily long arguments.")
|
||||||
(("/bin/sh") (which "sh")))
|
(("/bin/sh") (which "sh")))
|
||||||
(substitute* (find-files "tests" "\\.sh$")
|
(substitute* (find-files "tests" "\\.sh$")
|
||||||
(("#!/bin/sh") (string-append "#!" (which "sh"))))
|
(("#!/bin/sh") (string-append "#!" (which "sh"))))
|
||||||
#t)))))
|
#t))
|
||||||
|
,@(if (hurd-target?)
|
||||||
|
`((add-after 'unpack 'remove-tests
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Makefile.in"
|
||||||
|
;; this test hangs
|
||||||
|
(("^ *tests/misc/timeout-group.sh.*") ""))
|
||||||
|
#t)))
|
||||||
|
'()))))
|
||||||
(synopsis "Core GNU utilities (file, text, shell)")
|
(synopsis "Core GNU utilities (file, text, shell)")
|
||||||
(description
|
(description
|
||||||
"GNU Coreutils package includes all of the basic command-line tools that
|
"GNU Coreutils package includes all of the basic command-line tools that
|
||||||
|
|
Reference in a new issue