bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-8.2 bug-fix-only release coming soon


From: Jim Meyering
Subject: Re: coreutils-8.2 bug-fix-only release coming soon
Date: Thu, 03 Dec 2009 17:51:11 +0100

Ludovic Courtès wrote:
> FWIW the Hydra build farm at TU Deflt[*] now continuously builds
> Coreutils from Git using Gnulib from Git[+]:
>
>   http://hydra.nixos.org/jobset/gnu/coreutils-master
>   http://hydra.nixos.org/jobset/gnu/coreutils-master/all

Nice!
Thanks for setting that up.
It should be very useful to us.

> Currently 6 of 355 tests fail on GNU/Linux (this could be due to file
> system layout assumptions that do not hold on NixOS.)

I looked at the chown/separator failure, but a possibly-easy
diagnosis was thwarted by the absence of the usual "set -x" output.
I discovered that that was due to a new bug, fixed by the following patch.
In general, diagnosing such problems is easier with shell access
or at least with strace output.

>From 5224fbd6f904633b72f4bfa9d64e903744b0beae Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 3 Dec 2009 17:04:16 +0100
Subject: [PATCH] tests: fix a bug in sanitize_path_ that inhibited verbose 
output

* tests/test-lib.sh (sanitize_path_): Use "set -- ...", not "set - ...",
since the latter turns off the -x setting we rely on for VERBOSE=yes
output.
---
 tests/test-lib.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/test-lib.sh b/tests/test-lib.sh
index 06087ea..e600a9c 100644
--- a/tests/test-lib.sh
+++ b/tests/test-lib.sh
@@ -30,7 +30,7 @@ sanitize_path_()
 {
   local saved_IFS=$IFS
     IFS=:
-    set - $PATH
+    set -- $PATH
   IFS=$saved_IFS

   local d d1
--
1.6.6.rc1.244.g34c92




reply via email to

[Prev in Thread] Current Thread [Next in Thread]