gnu: findutils-boot0: Really disable 'test-fnmatch' on i686-linux.

Commit f08b070019 intended to skip
'test-fnmatch' on both x86_64-linux and i686-linux but it ended up
skipping it on x86_64-linux only.

* gnu/packages/commencement.scm (findutils-boot0)[arguments]: Use
'member' to test whether (%current-system) is "x86_64-linux" or
"i686-linux".
This commit is contained in:
Ludovic Courtès 2021-07-02 11:47:17 +02:00
parent 98c075c24e
commit fb40ec8aab
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2516,14 +2516,14 @@ (define findutils-boot0
;; 'test-fnmatch' fails when using glibc-mesboot@2.16, due
;; to incorrect handling of the [:alpha:] regexp character
;; class. Ignore it.
,@(if (string=? (%current-system)
(or "x86_64-linux" "i686-linux"))
'((add-before 'check 'skip-fnmatch-test
(lambda _
(substitute* "gnulib-tests/Makefile"
(("^XFAIL_TESTS =")
"XFAIL_TESTS = test-fnmatch ")))))
'()))))))))
,@(if (member (%current-system)
'("x86_64-linux" "i686-linux"))
'((add-before 'check 'skip-fnmatch-test
(lambda _
(substitute* "gnulib-tests/Makefile"
(("^XFAIL_TESTS =")
"XFAIL_TESTS = test-fnmatch ")))))
'()))))))))
(define file
(package