Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] coreutils: fix tests
@ 2020-11-03 19:38 jnbr
  2020-11-06 20:35 ` [PR PATCH] [Merged]: " jnbr
  0 siblings, 1 reply; 2+ messages in thread
From: jnbr @ 2020-11-03 19:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is a new pull request by jnbr against master on the void-packages repository

https://github.com/jnbr/void-packages coreutils
https://github.com/void-linux/void-packages/pull/26110

coreutils: fix tests
try not to destroy the makefile while disabling tests
use vsed in do_check

A patch file from https://github.com/void-linux/void-packages/pull/26110.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-coreutils-26110.patch --]
[-- Type: text/x-diff, Size: 1091 bytes --]

From 783eb4fcf4befde5d2d02aa744bad4817c730cf2 Mon Sep 17 00:00:00 2001
From: Johannes <johannes.brechtmann@gmail.com>
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: coreutils: fix tests
  2020-11-03 19:38 [PR PATCH] coreutils: fix tests jnbr
@ 2020-11-06 20:35 ` jnbr
  0 siblings, 0 replies; 2+ messages in thread
From: jnbr @ 2020-11-06 20:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

There's a merged pull request on the void-packages repository

coreutils: fix tests
https://github.com/void-linux/void-packages/pull/26110

Description:
try not to destroy the makefile while disabling tests
use vsed in do_check

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-06 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03 19:38 [PR PATCH] coreutils: fix tests jnbr
2020-11-06 20:35 ` [PR PATCH] [Merged]: " jnbr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).