coreutils: fix tests
try not to destroy the makefile while disabling tests use vsed in do_check
This commit is contained in:
parent
4a3d3c88b8
commit
78c974a18e
1 changed files with 3 additions and 3 deletions
|
@ -91,16 +91,16 @@ do_check() {
|
|||
local exeext_tests
|
||||
|
||||
# chgrp tests fail inside a chroot
|
||||
sed -i '/tests\/chgrp/d' Makefile
|
||||
vsed -i '/tests\/chgrp/d' Makefile
|
||||
|
||||
# Tests that fail due to being inside a chroot
|
||||
exeext_tests="chown lchown fchownat"
|
||||
|
||||
# Tests that depend on the tests reemoved
|
||||
# Tests that depend on the tests removed
|
||||
exeext_tests+=" fchmodat fchdir"
|
||||
|
||||
for test in $exeext_tests ; do
|
||||
sed -i "/test-$test\$(EXEEXT)/d" gnulib-tests/Makefile
|
||||
vsed -i "s/test-$test\$(EXEEXT) //" gnulib-tests/Makefile
|
||||
done
|
||||
|
||||
make check
|
||||
|
|
Loading…
Reference in a new issue