From 78c974a18ed25518f661229a1f8d5576e094574b Mon Sep 17 00:00:00 2001 From: Johannes Date: Tue, 3 Nov 2020 20:32:27 +0100 Subject: [PATCH] coreutils: fix tests try not to destroy the makefile while disabling tests use vsed in do_check --- srcpkgs/coreutils/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/coreutils/template b/srcpkgs/coreutils/template index feccd606958..334d1b0ea94 100644 --- a/srcpkgs/coreutils/template +++ b/srcpkgs/coreutils/template @@ -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