From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] gnu: add the rc shell package Date: Sat, 11 Jul 2015 06:37:06 +0200 Message-ID: <87io9ria31.fsf@mdc-berlin.de> References: <871tggddtr.fsf@codemac.net> <87si8vbqc5.fsf@codemac.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDmXS-0004YP-Fw for guix-devel@gnu.org; Sat, 11 Jul 2015 00:37:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDmXL-0001lI-0P for guix-devel@gnu.org; Sat, 11 Jul 2015 00:37:22 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:25152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDmXK-0001lA-OR for guix-devel@gnu.org; Sat, 11 Jul 2015 00:37:14 -0400 In-reply-to: <87si8vbqc5.fsf@codemac.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Jeff Mickey Cc: "guix-devel@gnu.org" > The tests are written in an m4 file which generates a configure script > that generates c main()'s that are compiled and run as tests against > rc.. there was a /bin/pwd in there that failed the test and I didn't > think a simple sed would be able to remove that part of the test. You can use (substitute* "the-file.c" (("/bin/pwd") (which "pwd"))) to replace the “/bin/pwd” with the “pwd” in the store. To run the tests by some other means than “make check” you can simply replace the ‘check’ phase. ~~ Ricardo