File util-linux-fincore-count.patch of Package python-libmount.7795

commit 839203c00ecb6b3dffd0d3eb8c77dac87584c241
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Jan 23 16:59:27 2018 +0100

    tests: fix fincore/count KNOWN_FAIL
    
    It has to be set after calling ts_init.
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

commit 88e5d289d5dcec3dfb7bc8f8fac89ce789e69d3f
Author: Karel Zak <kzak@redhat.com>
Date:   Wed Jan 17 14:41:56 2018 +0100

    tests: mark fincore/count as KNOWN_FAIL
    
    The test (or our expectations about Direct-IO) seems not robust
    enough. I guess this is not fincore problem.
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

diff -urN util-linux-2.31.1.orig/tests/ts/fincore/count util-linux-2.31.1/tests/ts/fincore/count
--- util-linux-2.31.1.orig/tests/ts/fincore/count	2017-11-23 13:42:05.508423452 +0100
+++ util-linux-2.31.1/tests/ts/fincore/count	2018-01-31 20:33:12.838715727 +0100
@@ -8,6 +8,9 @@
 
 ts_check_test_command "$TS_HELPER_SYSINFO"
 
+# Send patch if you know how to keep it portable and robust. Thanks.
+TS_KNOWN_FAIL="yes"
+
 function header
 {
     echo "[" "$1" "]"
openSUSE Build Service is sponsored by